Merge pull request #1265 from h1alexbel/patch-1 #146
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: | |
- master | |
jobs: | |
codecov: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
maven- | |
- run: mvn install -Pjacoco | |
- uses: codecov/codecov-action@v3 | |
with: | |
file: ./target/site/jacoco/jacoco.xml | |
fail_ci_if_error: true |