Skip to content

Commit

Permalink
Add coverage output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Jul 15, 2024
1 parent 2e1740f commit 4882bc7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@ jobs:
python -m pip install --upgrade pip
python -m pip install '.[dev]'
# Build the extension module in-place so pytest can find it
python3 setup.py build_ext --inplace
export CFLAGS="--coverage" python3 setup.py build_ext --inplace
- name: Run tests
run: |
pytest -vs tests/test_cpython_interface.py
- name: Show coverage
run: |
gcovr --filter vcztools
c_test:
name: C tests
Expand Down

0 comments on commit 4882bc7

Please sign in to comment.