Enable multiprocessing support for coverage

This commit is contained in:
davidmezzetti
2021-01-04 13:46:47 -05:00
parent ee644646d7
commit 3a2bfeb203
2 changed files with 9 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
[run]
source = src/python
concurrency = multiprocessing
disable_warnings = no-data-collected
[combine]
disable_warnings = no-data-collected
+2 -1
View File
@@ -20,4 +20,5 @@ test:
# Run tests while calculating code coverage
coverage:
coverage run --source=${SRC_DIR} -m unittest discover -v -s ${TEST_DIR}
coverage run -m unittest discover -v -s ${TEST_DIR}
coverage combine