ENH: run tests with coverage
This commit is contained in:
parent
30716c1ea0
commit
ad0af328f3
|
@ -30,7 +30,12 @@ before_install:
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- pip install -q codecov
|
||||||
|
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script: make test PYTESTOPTS=-s
|
script:
|
||||||
|
- make localbuild
|
||||||
|
- coverage run -- `which pytest` -s -v tests/
|
||||||
|
|
||||||
#notifications:
|
#notifications:
|
||||||
# email: false
|
# email: false
|
||||||
|
|
Loading…
Reference in New Issue