Bump org.jenkins-ci.tools:maven-hpi-plugin from 3.58 to 3.59 #94
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: 'Generate Coverage Report' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
name: Coverage on Ubuntu | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 and Maven | |
uses: s4u/[email protected] | |
with: | |
java-distribution: 'temurin' | |
java-version: '21' | |
- name: Generate coverage with JaCoCo | |
run: mvn clean jacoco:prepare-agent test jacoco:report | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
file: ./target/site/jacoco/jacoco.xml |