chore: bump jacoco to 0.8.12 #173
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: Java CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 8 , 11 , 16 , 17, 18 ] | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'temurin' | |
- name: Build with Maven | |
run: ./src/update-classes-in-resources.sh | |
- name: Prepare resources binaries | |
run: ./src/compile-and-clean-test-projects.sh | |
- name: Export MAVEN_HOME, run tests and collect coverage | |
run: export MAVEN_HOME=`mvn --version | grep 'Maven home' | sed -e 's/Maven h.* //'` && echo "🎉 ${MAVEN_HOME}" && mvn test jacoco:report | |
- name: Report coverage to Codecov | |
uses: codecov/[email protected] |