Tests: Fix flaky GPP tests and refactor code #5701
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Functional tests | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| - '.github/**' | |
| branches: | |
| - master | |
| release: | |
| types: | |
| - created | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [ 21 ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| cache: 'maven' | |
| java-version: ${{ matrix.java }} | |
| - name: Build with Maven | |
| id: build | |
| run: | | |
| mvn -B verify \ | |
| -DskipUnitTests=true \ | |
| -DskipModuleFunctionalTests=true \ | |
| -Dtests.max-container-count=5 \ | |
| -DdockerfileName=Dockerfile \ | |
| -Dcheckstyle.skip \ | |
| --file extra/pom.xml | |
| - name: Emitting run result of functional test | |
| if: always() | |
| uses: dorny/[email protected] | |
| with: | |
| name: 'Functional tests' | |
| working-directory: 'target/failsafe-reports' | |
| path: 'TEST-*.xml' | |
| reporter: java-junit | |
| use-actions-summary: 'true' | |
| list-suites: 'failed' | |
| list-tests: 'failed' | |
| fail-on-error: true | |
| fail-on-empty: true | |
| token: ${{ secrets.GITHUB_TOKEN }} |