Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
leng-yue committed Aug 5, 2021
1 parent 7c567e0 commit 145cc00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@ jobs:
run: python script/check.py
- name: Test and generate coverage report
run: |
pytest --cov=./ --cov-report=xml
pytest --cov=scrcpy --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
directory: ./coverage/reports/
flags: unittests
env_vars: OS,PYTHON
fail_ci_if_error: false
path_to_write_report: ./coverage/codecov_report.txt
verbose: true
publish:
needs: tests
Expand Down

0 comments on commit 145cc00

Please sign in to comment.