Skip to content

Commit

Permalink
Fix coverage upload on main builds (#96)
Browse files Browse the repository at this point in the history
We need to enable the `coverage` profile in the main build/publish maven
step, otherwise codecov has nothing to upload.
  • Loading branch information
dziemba committed May 9, 2022
1 parent 33923fe commit 7475d79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
gpg_passphrase: ${{ secrets.gpg_passphrase }}
nexus_username: ${{ secrets.nexus_username }}
nexus_password: ${{ secrets.nexus_password }}
maven_args: '-Pcoverage'

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
Expand Down

0 comments on commit 7475d79

Please sign in to comment.