Skip to content

Commit

Permalink
Merge pull request #10 from brainelectronics/bugfix/run-coverage-on-r…
Browse files Browse the repository at this point in the history
…elease-workflow

Add codecov step to release workflow to update badge on main branch
  • Loading branch information
brainelectronics authored Aug 5, 2022
2 parents 5c5556a + fc8092e commit 4c19a04
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,16 @@ jobs:
skip_existing: true
verbose: true
print_hash: true
- name: Test with nose2
run: |
python -m pip install .[test]
python create_report_dirs.py
nose2 --config tests/unittest.cfg
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./reports/coverage/coverage.xml
flags: unittests
verbose: true

0 comments on commit 4c19a04

Please sign in to comment.