Skip to content

Commit

Permalink
Fix coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
avalentino committed Oct 15, 2023
1 parent 7862016 commit 1bbc9f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
make coverage
- name: Print info
run: |
python -c "\
env PYTHONPATH=src python -c "\
import sys, epr, numpy as np;\
print('PyEPR: %s' % epr.__version__);\
print('EPR API: %s' % epr.EPR_C_API_VERSION);\
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ ext-coverage: src/epr.pyx
env PYEPR_COVERAGE=TRUE $(PYTHON) setup.py build_ext --inplace

coverage: clean ext-coverage
$(PYTHON) -m pytest --cov --cov-report=term --cov-report=html
env PYTHONPATH=src $(PYTHON) -m pytest --cov --cov-report=term --cov-report=html

debug:
$(PYTHON)d setup.py build_ext --inplace --debug
Expand Down

0 comments on commit 1bbc9f3

Please sign in to comment.