Merge pull request #1694 from kiwix/feature/macgills/1693-codecov-action

#1693 Coverage Reports not uploading via Github Actions
This commit is contained in:
Seán Mac Gillicuddy 2020-01-09 14:47:22 +00:00 committed by GitHub
commit c4aa23d5c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,5 +34,8 @@ jobs:
- name: create unit coverage
run: ./gradlew jacocoTestDebugUnitTestReport jacocoTestCustomExampleDebugUnitTestReport
- name: upload coverage
run: bash <(curl -s https://codecov.io/bash)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true