Skip to content

Bump gradle/gradle-build-action from 3.3.1 to 3.4.0 #19

Bump gradle/gradle-build-action from 3.3.1 to 3.4.0

Bump gradle/gradle-build-action from 3.3.1 to 3.4.0 #19

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: APITestsHardGate-Failing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle and run unit tests
uses: gradle/gradle-build-action@db35f2304698ac6ff98958322dfd3db0a5da9fdf
with:
arguments: build --refresh-dependencies
- name: Run failing API tests as gradle task with SET_HARD_GATE=true
run: |
TEST_TYPE=api TAGS=hardGate TARGET_ENVIRONMENT=prod SET_HARD_GATE=true IS_FAILING_TEST_SUITE=true ./gradlew clean run