Skip to content

Commit f36d492

Browse files
committed
Added parallel-mode to coverage.py
1 parent 802252e commit f36d492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,14 @@ test_coverage()
258258
# Execute all tests
259259
for testfile in tests/test_*.py;
260260
do
261-
coverage run --append --source=. -m pytest -rsx -W ignore::RuntimeWarning -W ignore::DeprecationWarning -W ignore::UserWarning $testfile
261+
coverage run --parallel-mode --append --source=. -m pytest -rsx -W ignore::RuntimeWarning -W ignore::DeprecationWarning -W ignore::UserWarning $testfile
262262
check_errs $?
263263
done
264264
else
265265
# Execute custom tests
266266
for testfile in "${custom_testfiles[@]}";
267267
do
268-
coverage run --append --source=. -m pytest -rsx -W ignore::RuntimeWarning -W ignore::DeprecationWarning -W ignore::UserWarning $testfile
268+
coverage run --parallel-mode --append --source=. -m pytest -rsx -W ignore::RuntimeWarning -W ignore::DeprecationWarning -W ignore::UserWarning $testfile
269269
check_errs $?
270270
done
271271
fi

0 commit comments

Comments
 (0)