Pre-Release #6
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: Pre-Release | |
| on: | |
| schedule: | |
| - cron: "0 22 * * 0" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build and test on ${{ matrix.os }} with ${{ matrix.jvm }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest, macos-latest ] | |
| jvm: [ java, graalvm ] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v1 | |
| - name: Set up Java 21 | |
| if: matrix.jvm == 'java' | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 21 | |
| - name: Setup GraalVM | |
| if: matrix.jvm == 'graalvm' | |
| uses: graalvm/setup-graalvm@v1 | |
| with: | |
| java-version: '21.0.8' | |
| distribution: 'graalvm' | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build with Maven | |
| if: matrix.os == 'ubuntu-latest' | |
| run: mvn --batch-mode -Pjacoco install -DskipCucumberTests=true | |
| - name: Compile Javadoc with Maven | |
| run: mvn package | |
| - name: Build with Maven | |
| if: matrix.os != 'ubuntu-latest' | |
| run: mvn --batch-mode install -DskipCucumberTests=true | |
| - name: Run Cucumber Tests | |
| run: mvn test -pl tests | |