File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then
2424 # full. add the ci_tools/ to path so that the conftest.py is found.
2525 export PATH=${TRAVIS_BUILD_DIR} /ci_tools/:${PATH}
2626 echo $PATH
27- python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./mini_lambda -v mini_lambda/tests/
27+ coverage run --source mini_lambda -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html -v mini_lambda/tests/
28+ # pytest-cov bugs
29+ # python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./mini_lambda -v mini_lambda/tests/
2830else
2931 # faster - skip coverage and html report
3032 python -m pytest --junitxml=reports/junit/junit.xml -v mini_lambda/tests/
You can’t perform that action at this time.
0 commit comments