Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Delete all the .coverage files, including the combined .coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Haines committed Dec 21, 2015
1 parent 9036d2d commit bb9c7f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jenkins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit bb9c7f2

Please sign in to comment.