Skip to content

Commit

Permalink
ci: generate code coverage only on ubuntu-latest (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar authored Apr 28, 2023
1 parent 0580a5e commit 910bd6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ jobs:
reporter: java-junit

- name: Generate code coverage report
if: matrix.os == 'ubuntu-latest'
run: ./gradlew build jacocoTestReport

- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 910bd6d

Please sign in to comment.