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

test: timeout when integration tests take too long #2529

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ filelock = ">=3.16.0,<4"
mypy = ">=1.11,<1.12"
pytest = "*"
pytest-rerunfailures = ">=14.0,<15"
pytest-timeout = ">=2.3.1,<3"
pytest-xdist = ">=3.6.1,<4"
rich = ">=13.7.1,<14"
tomli-w = ">=1.0,<2"
Expand All @@ -49,11 +50,11 @@ test-common-wheels = { cmd = "pytest --numprocesses=auto tests/wheel_tests/", de
"build-release",
] }
test-common-wheels-ci = { cmd = "pytest --numprocesses=auto --verbose tests/wheel_tests/" }
test-integration-ci = "pytest --numprocesses=auto --durations=10 --verbose tests/integration_python"
test-integration-fast = { cmd = "pytest -m 'not slow' --pixi-build=debug --numprocesses=auto --durations=10 tests/integration_python", depends-on = [
test-integration-ci = "pytest --numprocesses=auto --durations=10 --verbose --timeout=300 tests/integration_python"
test-integration-fast = { cmd = "pytest -m 'not slow' --pixi-build=debug --numprocesses=auto --durations=10 --timeout=300 tests/integration_python", depends-on = [
"build-debug",
] }
test-integration-slow = { cmd = "pytest --numprocesses=auto --durations=10 tests/integration_python", depends-on = [
test-integration-slow = { cmd = "pytest --numprocesses=auto --durations=10 --timeout=300 tests/integration_python", depends-on = [
"build-release",
] }
# pass the file to run as an argument to the task
Expand Down
Loading