Skip to content

Commit

Permalink
Fix codacy coverage reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrymakesjelly committed Apr 24, 2022
1 parent 95c860c commit 2d39a63
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,21 @@ jobs:
# reduce clients pressure
sleep $(($RANDOM % 60))
py.test -s --cov-report=xml --cov
- name: Save coverage report
uses: actions/upload-artifact@v2
with:
name: coverage.xml
path: coverage.xml
codacy-coverage-reporter:
runs-on: ubuntu-latest
name: codacy-coverage-reporter
needs: build
steps:
- uses: actions/checkout@v2
- name: Load coverage report
uses: actions/download-artifact@v2
with:
name: coverage.xml
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
Expand Down

0 comments on commit 2d39a63

Please sign in to comment.