Show test coverage

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi
2019-09-10 23:02:29 +08:00
parent 47809d530a
commit dd1f918920
5 changed files with 8 additions and 2 deletions

View File

@@ -54,3 +54,6 @@ deps = bandit
commands =
/bin/bash -c "bandit -r -ll $(find . -mindepth 1 -maxdepth 1 ! -name tests ! -name \.\* -type d -o -name \*.py)"
ignore_outcome = True
[pytest]
addopts = --cov module_build_service --cov-report html --cov-report term