File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ run-sudo-shell/%: ## run a bash in interactive mode as root in a stack
207
207
208
208
test/% : # # run tests against a stack (only common tests or common tests + specific tests)
209
209
@echo " ::group::test/$( OWNER) /$( notdir $@ ) "
210
- @if [ ! -d " $( notdir $@ ) /test" ]; then TEST_IMAGE=" $( OWNER) /$( notdir $@ ) " pytest -n auto -m " not info" test ; \
211
- else TEST_IMAGE=" $( OWNER) /$( notdir $@ ) " pytest -n auto -m " not info" test $(notdir $@ ) /test; fi
210
+ @if [ ! -d " $( notdir $@ ) /test" ]; then TEST_IMAGE=" $( OWNER) /$( notdir $@ ) " pytest --numprocesses= auto -m " not info" test ; \
211
+ else TEST_IMAGE=" $( OWNER) /$( notdir $@ ) " pytest --numprocesses= auto -m " not info" test $(notdir $@ ) /test; fi
212
212
@echo " ::endgroup::"
213
213
test-all : $(foreach I, $(ALL_IMAGES ) , test/$(I ) ) # # test all stacks
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ packaging
3
3
plumbum
4
4
pre-commit
5
5
pytest
6
+ # pytest-xdist is a plugin that provides the --numprocesses flag, allowing us to
7
+ # run pytest tests in parallel.
6
8
pytest-xdist
7
9
requests
8
10
tabulate
You can’t perform that action at this time.
0 commit comments