Skip to content

Commit

Permalink
Fixed coverage in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain MARIE committed Aug 1, 2019
1 parent c5858f4 commit 63c087e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci_tools/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ trap "cleanup" INT TERM EXIT
echo -e "\n\n****** Running tests ******\n\n"
if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then
# full
python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./makefun -v makefun/tests/
coverage run --source makefun -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html -v makefun/tests/
# python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./makefun -v makefun/tests/
else
# faster - skip coverage and html report
python -m pytest --junitxml=reports/junit/junit.xml -v makefun/tests/
Expand Down

0 comments on commit 63c087e

Please sign in to comment.