Skip to content

Commit 18ad4d0

Browse files
authored
Merge pull request #152 from asherf/coveralls
Add e2e test coverage
2 parents 8cb91af + 895bd54 commit 18ad4d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ script:
3838
- if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then black --check django_prometheus/; fi
3939
- coverage run --source=django_prometheus setup.py test
4040
- python setup.py sdist bdist_wheel
41-
- pushd django_prometheus/tests/end2end && PYTHONPATH=../../.. python manage.py test && popd
41+
- pushd django_prometheus/tests/end2end && PYTHONPATH=../../.. coverage run --source=django_prometheus manage.py test && popd
4242
after_success:
43+
- coverage combine .coverage django_prometheus/tests/end2end/.coverage
4344
- coveralls
4445
before_deploy:
4546
- git checkout $TRAVIS_BRANCH

0 commit comments

Comments
 (0)