Skip to content

chore: bump jacoco to 0.8.12 #173

chore: bump jacoco to 0.8.12

chore: bump jacoco to 0.8.12 #173

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]