vponomaryov 72f6c06a11 Upgrade coverage tox job
Add ported from Manila project 'cover.sh' script that
allows to calculate coverage diff between last and previous commits.

Usage of new approach (with diff):

$ tox -e cover

To run old coverage approach use following:

./run_tests.sh --coverage --no-pep8

Change-Id: I8f6de6ba5cba2050771c4bead31baaf975e097b9
2016-04-20 14:37:33 +03:00

9 lines
126 B
INI

[run]
branch = True
source = manila_ui
omit = manila_ui/enabled*,manila_ui/test*
[report]
precision = 2
ignore_errors = True