Skip to content

Commit

Permalink
ci coverage: use gcov via codecov gha (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbovy authored Mar 20, 2023
1 parent e874e60 commit 38a0693
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,11 @@ jobs:
run: |
pytest . -vv
- name: Generate coverage report
run: |
python -m pip install gcovr
gcovr --exclude-unreachable-branches --print-summary -x -o coverage.xml
if: |
runner.os == 'Linux' && matrix.python-version == '3.11' && matrix.dev == false
- name: Upload coverage report
- name: Generate and upload coverage report
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
gcov: true
gcov_include: src
verbose: true
if: |
runner.os == 'Linux' && matrix.python-version == '3.11' && matrix.dev == false

0 comments on commit 38a0693

Please sign in to comment.