Skip to content

Commit

Permalink
change tests to use pytest and add .coveragerc to ignore tests/
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmurbach committed Mar 16, 2020
1 parent 3126ef7 commit 1f4c87e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
omit = impedance/tests/*
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_script:
- flake8 impedance --exclude=*.ipynb_checkpoints

script:
- nosetests --with-coverage --cover-erase --cover-package=impedance
- pytest --cov=impedance impedance/tests

after_success:
- coverage report
Expand Down

0 comments on commit 1f4c87e

Please sign in to comment.