Skip to content

Commit 63c087e

Browse files
author
Sylvain MARIE
committed
Fixed coverage in travis
1 parent c5858f4 commit 63c087e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci_tools/run_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ trap "cleanup" INT TERM EXIT
2222
echo -e "\n\n****** Running tests ******\n\n"
2323
if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then
2424
# full
25-
python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./makefun -v makefun/tests/
25+
coverage run --source makefun -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html -v makefun/tests/
26+
# python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./makefun -v makefun/tests/
2627
else
2728
# faster - skip coverage and html report
2829
python -m pytest --junitxml=reports/junit/junit.xml -v makefun/tests/

0 commit comments

Comments
 (0)