Skip to content

Commit

Permalink
limit coverage per module
Browse files Browse the repository at this point in the history
  • Loading branch information
sampan501 committed Jan 20, 2021
1 parent acd3e7c commit 55169a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ jobs:
name: run tests and coverage
command: |
. venv/bin/activate
pytest --junitxml=test-reports/junit.xml --cov-report=html:htmlcov hyppo/<< parameters.module >>
pytest --junitxml=test-reports/junit.xml --cov-report=html:htmlcov --cov=hyppo/<< parameters.module >> hyppo/<< parameters.module >>
- store_test_results:
path: test-reports
- store_artifacts:
path: test-reports
- store_artifacts:
path: htmlcov
- codecov/upload:
file: "./htmlcov/"
file: "./htmlcov/index.html"
deploy:
docker:
- image: cimg/python:3.8
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[pytest]
addopts = --cov=hyppo --doctest-modules
addopts = --doctest-modules
deselect = "hyppo/independence/kmerf.py"


Expand Down

0 comments on commit 55169a4

Please sign in to comment.