Skip to content

Commit

Permalink
update upload to codecov and actually generate report
Browse files Browse the repository at this point in the history
  • Loading branch information
oboulant committed Oct 20, 2021
1 parent 5f0d6fe commit 741ecce
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ jobs:
python -m pip install .[test]
- name: Test with pytest
run: |
python -m pytest
- name: Upload to Codecov
run: |
bash <(curl -s https://codecov.io/bash)
python -m pytest --cov-report=xml --cov-report=term:skip-covered --cov=src/ruptures
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
flags: unittests
fail_ci_if_error: true
- uses: actions/upload-artifact@v2
with:
path: coverage.xml

0 comments on commit 741ecce

Please sign in to comment.