tox.ini: rename coverage file only if coverage is enabled (#22717)

This commit is contained in:
Benjamin Dauvergne 2018-03-21 23:53:30 +01:00
parent d780a085a9
commit 3d69062edb
1 changed files with 1 additions and 1 deletions

View File

@ -27,5 +27,5 @@ deps =
djangorestframework>=3.3,<3.4
commands =
py.test {env:COVERAGE:} {posargs:--random --junit-xml=junit-{envname}.xml tests}
mv coverage.xml coverage-{envname}.xml
coverage: mv coverage.xml coverage-{envname}.xml