Skip to content

Commit

Permalink
Update codecov-action version (#3316)
Browse files Browse the repository at this point in the history
To ensure we can configure a Dependabot secret so that all
Dependabot PRs pass CI again. Right now, they are failing
since the token is not passed to CI runs that are not coming
from maintainers/owners of Mockito.
  • Loading branch information
TimvdLippe committed Apr 13, 2024
1 parent 89aeb05 commit f57fa07
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -89,11 +89,12 @@ jobs:
--scan
- name: 8. Upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: build/reports/jacoco/mockitoCoverage/mockitoCoverage.xml
fail_ci_if_error: true
token: ${{secrets.CODECOV_TOKEN}}

#
# Android build job
Expand Down Expand Up @@ -180,7 +181,9 @@ jobs:
# :androidTest:connectedCheck (which depends on :androidTest:createDebugAndroidTestCoverageReport) already generated coverage report.
- name: 6. Upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: subprojects/androidTest/build/reports/coverage/androidTest/debug/connected/report.xml
fail_ci_if_error: true
Expand Down

0 comments on commit f57fa07

Please sign in to comment.