Skip to content

Commit 6d13dc3

Browse files
parallelize tests
1 parent 6457794 commit 6d13dc3

File tree

3 files changed

+164
-122
lines changed

3 files changed

+164
-122
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ run-web-app:
9595
## test: runs core tests
9696
.PHONY: test
9797
test:
98-
PYTHONPATH=. pytest -v test_${PIPELINE_PACKAGE} --cov=${PACKAGE_NAME} --cov-report term-missing
98+
PYTHONPATH=. python3 -m pytest -n auto -v test_${PIPELINE_PACKAGE} --cov=${PACKAGE_NAME} --cov-report term-missing
9999

100100
# Setting a low bar here - need more tests!
101101
.PHONY: check-coverage

requirements/test.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ flake8
88
mypy
99
pytest-cov
1010
pytest-mock
11+
pytest-xdist
1112
nbdev
1213
jupyter
1314
httpx

0 commit comments

Comments
 (0)