Update com.vaadin to v24.9.4 #517
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: Run integration tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ develop ] | |
| paths-ignore: | |
| - '**.md' | |
| - '.config/**' | |
| - '.github/**' | |
| - '.idea/**' | |
| - 'assets/**' | |
| pull_request: | |
| branches: [ develop ] | |
| paths-ignore: | |
| - '**.md' | |
| - '.config/**' | |
| - '.github/**' | |
| - '.idea/**' | |
| - 'assets/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| run-integration-tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: [25] | |
| project: [webapp-rest-it, webapp-vaadin-it] | |
| parallel: [2] | |
| pre-start: [true] | |
| runs-on: ubuntu-latest | |
| if: ${{ !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| cache: 'maven' | |
| - name: Test | |
| run: | | |
| ./mvnw -B test \ | |
| -pl "demo/integration-tests/${{ matrix.project }}" -am \ | |
| -P run-it \ | |
| ${{ matrix.pre-start && '-Dinfra-pre-start.enabled=1 ' || '' }} \ | |
| ${{ matrix.parallel > 0 && format('-Djunit.jupiter.execution.parallel.enabled=true -Djunit.jupiter.execution.parallel.mode.default=concurrent -Djunit.jupiter.execution.parallel.mode.classes.default=concurrent -Djunit.jupiter.execution.parallel.config.strategy=fixed -Djunit.jupiter.execution.parallel.config.fixed.parallelism=2 -Djunit.jupiter.execution.parallel.config.fixed.max-pool-size={0} ', matrix.parallel) || '' }} | |
| # Replace '/' with '-' | |
| - name: Normalize project name | |
| if: failure() | |
| env: | |
| PROJECT: ${{ matrix.project }} | |
| run: echo PROJECT_NORMALIZED=${PROJECT/\//-} >> $GITHUB_ENV | |
| - name: Upload videos of test failures | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-fail-videos-${{ matrix.java }}-${{ env.PROJECT_NORMALIZED }}-${{ matrix.parallel }}-${{ matrix.pre-start }} | |
| path: demo/integration-tests/${{ matrix.project }}/target/records | |
| if-no-files-found: ignore |