Skip to content

Test and build with Java 17 #762

Test and build with Java 17

Test and build with Java 17 #762

Workflow file for this run

name: CI
permissions: read-all
on:
push:
branches:
- master
pull_request:
jobs:
tests-with-coverage:
strategy:
matrix:
os: ["windows-2022", "ubuntu-22.04"]
name: Tests (${{ matrix.os }}) with coverage
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: 'temurin'
java-version: '17'
- name: Build
run: mvn -Pjacoco clean verify --batch-mode --show-version
- name: Upload coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
file: ./target/site/jacoco/jacoco.xml