mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 04:33:50 +01:00
Delete all the .coverage files, including the combined .coverage
This commit is contained in:
parent
9036d2d6a8
commit
bb9c7f2dd9
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@ export DUMP_COVERAGE_COMMAND="coverage help"
|
|||
# UNSTABLE or FAILURE this build.
|
||||
export PEP8SUFFIX="--output-file=violations.flake8.log || echo flake8 finished with status code \$?"
|
||||
|
||||
rm .coverage.* || echo "No files to remove"
|
||||
rm .coverage* || echo "No coverage files to remove"
|
||||
|
||||
tox
|
||||
|
||||
|
@ -76,6 +76,7 @@ cd ..
|
|||
cp sytest/.coverage.* .
|
||||
|
||||
# Combine the coverage reports
|
||||
echo "Combining:" .coverage.*
|
||||
$TOX_BIN/python -m coverage combine
|
||||
# Output coverage to coverage.xml
|
||||
$TOX_BIN/coverage xml -o coverage.xml
|
||||
|
|
Loading…
Reference in a new issue