Skip to content

Commit

Permalink
Adding codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly authored Jul 7, 2021
1 parent 377a12e commit d251345
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,21 @@ jobs:
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

coverage:
needs: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11

- run: mvn -B verify -P coverage --no-transfer-progress

- uses: codecov/codecov-action@v1
with:
file: ./**/target/site/jacoco/jacoco.xml
name: codecov

0 comments on commit d251345

Please sign in to comment.