Bump org.jenkins-ci:acceptance-test-harness from 6107.v8c73fa_b_8f784 to 6133.v358d9a_47674f #723
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: 'CodeCov' | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
name: Create and upload coverage report | |
steps: | |
- uses: actions/checkout@v4 | |
if: github.event_name == 'push' | |
- uses: actions/checkout@v4 | |
with: | |
ref: "${{ github.event.pull_request.merge_commit_sha }}" | |
if: github.event_name == 'pull_request_target' | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
check-latest: true | |
cache: 'maven' | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.9.9 | |
- name: Generate coverage with JaCoCo | |
run: mvn -V --color always -ntp clean verify -Pci | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5.1.2 | |
with: | |
file: 'plugin/target/site/jacoco/jacoco.xml' | |
disable_search: true | |
token: ${{secrets.CODECOV_TOKEN}} |