Skip to content

Commit

Permalink
Added codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Sep 29, 2023
1 parent 2523b31 commit 404ca93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-XX:MaxMetaspaceSize=512m"
CODECOV_JDK: "17"

steps:
- uses: actions/checkout@v3
Expand All @@ -52,3 +53,9 @@ jobs:
with:
gradle-home-cache-cleanup: true
arguments: build check --stacktrace -PtestsBadgeApiKey=${{ secrets.TESTS_BADGE_API_KEY }}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
if: success() && matrix.java-version == env.CODECOV_JDK
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 404ca93

Please sign in to comment.