Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce the pytest job parallelism from 10 to 6 #4085

Merged
merged 2 commits into from Aug 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .circleci/config.yml
Expand Up @@ -266,6 +266,9 @@ jobs:
notify_on_failure:
type: boolean
default: false
xdist:
type: integer
default: 6
docker:
- image: "python:<<parameters.python_version_major>>.<<parameters.python_version_minor>>"
- image: gcr.io/wandb-production/local-testcontainer:<< pipeline.parameters.wandb_server_tag >>
Expand Down Expand Up @@ -294,6 +297,7 @@ jobs:
name: Run tests
no_output_timeout: 10m
command: |
CI_PYTEST_PARALLEL=<< parameters.xdist >> \
tox -v -e <<parameters.toxenv>> \
-- --wandb-server-tag << pipeline.parameters.wandb_server_tag >> tests/unit_tests
- save-test-results
Expand Down