Update JUnit Jupiter to v5.11.2 #878
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: Ubuntu | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
java_version: [ 11, 17 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up JDK ${{ matrix.java_version }}" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java_version }} | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
- name: build | |
env: | |
JAVA_VERSION: ${{ matrix.java_version }} | |
run: ./gradlew build --no-daemon | |
- name: Upload build code coverage | |
uses: codecov/[email protected] | |
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }} | |
env: | |
JAVA_VERSION: ${{ matrix.java_version }} | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: current | |
env_vars: JAVA_VERSION | |
# too many timeout errors, let's not fail at the moment | |
#fail_ci_if_error: true |