mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
coverage: track subprocesses
This commit is contained in:
parent
b2d27dc016
commit
89cdca07ae
4 changed files with 7 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,4 +1,6 @@
|
|||
.coverage
|
||||
.coverage.*
|
||||
coverage.xml
|
||||
sitecustomize.py
|
||||
docs/_build
|
||||
*.egg-info
|
||||
*.egg
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ after_success:
|
|||
if [[ "$TOXENV" = py* ]]; then
|
||||
pip install codecov
|
||||
coverage xml
|
||||
coverage report -m
|
||||
codecov --required -X gcov fix pycov -f coverage.xml --flags ${TOXENV//-/ }
|
||||
fi
|
||||
branches:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ universal = 1
|
|||
|
||||
[coverage:run]
|
||||
source = .
|
||||
include = configurations/*,tests/*
|
||||
branch = 1
|
||||
parallel = 1
|
||||
[coverage:report]
|
||||
include = configurations/*,tests/*
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -16,6 +16,7 @@ usedevelop = true
|
|||
setenv =
|
||||
DJANGO_SETTINGS_MODULE = tests.settings.main
|
||||
DJANGO_CONFIGURATION = Test
|
||||
COVERAGE_PROCESS_START = {toxinidir}/setup.cfg
|
||||
deps =
|
||||
-rtests/requirements.txt
|
||||
dj18: django>=1.8,<1.9
|
||||
|
|
@ -28,7 +29,8 @@ deps =
|
|||
commands =
|
||||
python --version
|
||||
coverage run {envbindir}/django-cadmin test -v2 {posargs:tests}
|
||||
coverage report
|
||||
coverage combine
|
||||
coverage report -m --skip-covered
|
||||
|
||||
[testenv:readme-py27]
|
||||
commands = python setup.py check -r -s
|
||||
|
|
|
|||
Loading…
Reference in a new issue