Bump codecov/codecov-action from 4.5.0 to 4.6.0 #112
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 11 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
check-latest: true | |
cache: 'maven' | |
- name: Generate coverage with JaCoCo | |
env: | |
BROWSER: firefox-container | |
run: mvn -V --color always -ntp clean verify jacoco:prepare-agent test integration-test jacoco:report '-Dgpg.skip' | |
- name: Upload coverage to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} |