multiprocessing coverage

This commit is contained in:
sezanzeb 2020-11-30 19:02:57 +01:00
parent a97c44ebd4
commit f6869d7cd2
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[run]
branch = True
source = /usr/lib/python3.8/site-packages/keymapper
# concurrency = multiprocessing
concurrency = multiprocessing

View File

@ -4,6 +4,7 @@ coverage_badge() {
# https://github.com/dbrgn/coverage-badge
coverage run --branch --source=/usr/lib/python3.8/site-packages/keymapper tests/test.py
python3 -m coverage_badge > readme/coverage.svg
coverage combine
coverage report -m
echo "coverage badge created"
}