Skip to content

Commit

Permalink
MAINT pass the coveragerc to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Mar 17, 2018
1 parent 5838ee4 commit 7db213d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Expand Up @@ -4,7 +4,6 @@
branch = True
source = skcycling
include = */skcycling/*
omit =
omit =
*/skcycling/__check_build/*
*/skcycling/extraction/setup.py
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -31,4 +31,4 @@ install:
test_script:
- mkdir for_test
- cd for_test
- pytest --pyargs skcycling --cov-report term-missing --cov=skcycling
- pytest --pyargs skcycling --cov-report term-missing --cov=skcycling --cov-config .coveragerc
2 changes: 1 addition & 1 deletion build_tools/travis/test_script.sh
Expand Up @@ -21,7 +21,7 @@ run_tests(){
python -c "import scipy; print('scipy %s' % scipy.__version__)"
python -c "import multiprocessing as mp; print('%d CPUs' % mp.cpu_count())"

py.test --cov=$MODULE -r sx --pyargs $MODULE
py.test --cov=$MODULE -r sx --pyargs $MODULE --cov-config .coveragerc

# TODO: Test doc
# cd $OLDPWD
Expand Down

0 comments on commit 7db213d

Please sign in to comment.