Skip to content

Commit

Permalink
Merge pull request #992 from projectcalico/smc-diff-cover
Browse files Browse the repository at this point in the history
Add diff-cover output to run-unit-test.sh output.
  • Loading branch information
Neil Jerram authored and Neil Jerram committed Mar 15, 2016
2 parents c86ccd2 + 7d7ae3d commit 1d11931
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run-unit-test.sh
Expand Up @@ -20,4 +20,6 @@ tox "$@"
# coverage.
source .tox/py27/bin/activate
coverage html
coverage xml
diff-cover coverage.xml --compare-branch=origin/master
deactivate
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -8,6 +8,7 @@ deps =
mock>=1.3.0
coverage>=4.0.2
unittest2
diff_cover
# Each of our components uses a different scheme of
# thread monkey-patching so run each separately. We'd like to
# use "nosetests --with-coverage" but there's no way to pass
Expand Down

0 comments on commit 1d11931

Please sign in to comment.