chore(deps): update junit5 monorepo to v5.11.3 #298
Workflow file for this run
This file contains 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: tests | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# We only need to test on JDK 11 | |
java-version: [ 11 ] | |
os: [ ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup JDK21 for building project | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Build project | |
# We need to build the agent first, because the tests depend on it | |
run: mvn clean install -DskipTests | |
- name: Setup JDK${{ matrix.java-version }} for running tests | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java-version }} | |
- name: Run tests | |
run: mvn surefire:test |