Rewrite "New Wizard" tests to no longer require the SWTBot runner #3180
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: WindowBuilder verification build | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - labeled | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| java: [ 21, 25 ] | |
| include: | |
| - java: 21 | |
| target: 2024-06 | |
| - java: 25 | |
| target: master | |
| runs-on: ${{ matrix.os }} | |
| name: OS ${{ matrix.os }} Java ${{ matrix.java }} ${{ matrix.target }} compile | |
| timeout-minutes: 90 | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0 | |
| with: | |
| distribution: 'temurin' # See 'Supported distributions' for available options | |
| java-version: ${{ matrix.java }} | |
| cache: 'maven' | |
| - name: Set up Maven | |
| uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5 | |
| with: | |
| maven-version: 3.9.9 | |
| - name: Build with Maven | |
| uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1 | |
| with: | |
| run: >- | |
| mvn -V -B -fae -ntp clean verify -P ${{ matrix.target }} | |
| - name: Upload Test Results for Java-${{ matrix.java }} | |
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| if: always() | |
| with: | |
| name: test-results-${{ matrix.os }}-java${{ matrix.java }}-${{ matrix.target }} | |
| if-no-files-found: error | |
| path: | | |
| ${{ github.workspace }}/**/target/surefire-reports/*.xml | |
| event_file: | |
| name: "Upload Event File" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Upload | |
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | |
| with: | |
| name: Event File | |
| path: ${{ github.event_path }} |