Skip to content

Commit

Permalink
Run tests in parallel by default
Browse files Browse the repository at this point in the history
  • Loading branch information
danudey committed Mar 27, 2024
1 parent 551c564 commit d52ead1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hack/postrelease/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN --mount=type=tmpfs,target=/var/cache/apk apk add --no-cache \
py3-pip \
py3-yaml \
py3-pytest \
py3-pytest-xdist\
py3-requests \
py3-rich \
py-setuptools \
Expand Down
2 changes: 1 addition & 1 deletion hack/postrelease/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ run_pytests_docker: create_docker_container
-v .:/code \
-v /run/docker.sock:/run/docker.sock \
$(CALICO_POSTRELEASE_TEST_IMAGE) \
pytest -v --junitxml=xunit.xml tests
pytest -n$(shell nproc) --junitxml=xunit.xml tests

## Cleanup

Expand Down

0 comments on commit d52ead1

Please sign in to comment.