Skip to content

Commit

Permalink
Merge pull request #6869 from drew2a/feature/codecov
Browse files Browse the repository at this point in the history
Add codecov
  • Loading branch information
drew2a authored Apr 13, 2022
2 parents 1706bcf + d60f11b commit b7d1689
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/upload_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@ jobs:
if: github.event.workflow_run.conclusion == 'success'

steps:
- name: Download artifact
- name: Download coverage report
uses: dawidd6/action-download-artifact@v2
with:
workflow: coverage.yml
name: coverage_report

- name: Upload codacy-coverage-report
- name: Upload to Codacy
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./coverage.xml

- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_PROJECT_TOKEN }}
files: ./coverage.xml

0 comments on commit b7d1689

Please sign in to comment.