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

[Internal] Allow control over pytest concurrency #894

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rauchy
Copy link
Contributor

@rauchy rauchy commented Feb 20, 2025

What changes are proposed in this pull request?

This pull request introduces an environment variable, PYTEST_CONCURRENCY, allowing developers to control the number of concurrent processes used during pytest execution. Previously, the concurrency level for pytest was fixed and based on the number of processes on the host it ran in.

If the env variable is unspecified, it will still fall back to the number of processes in the host.

@rauchy rauchy temporarily deployed to test-trigger-is February 20, 2025 14:31 — with GitHub Actions Inactive
@rauchy rauchy temporarily deployed to test-trigger-is February 20, 2025 14:31 — with GitHub Actions Inactive
@rauchy rauchy requested a review from mgyucht February 21, 2025 12:35
@rauchy rauchy force-pushed the set-pytest-concurrency branch from 1d414d3 to 12fc173 Compare February 21, 2025 12:39
@rauchy rauchy temporarily deployed to test-trigger-is February 21, 2025 12:39 — with GitHub Actions Inactive
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 894
  • Commit SHA: 12fc173c388b40ebf60815f0af3377a8d1a43b18

Checks will be approved automatically on success.

@rauchy rauchy temporarily deployed to test-trigger-is February 21, 2025 12:41 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant