ci: add pytest-timeout with 120s limit for CI tests (#7342)
This commit is contained in:
parent
dead8150c7
commit
d8233c2a76
3 changed files with 7 additions and 1 deletions
2
.github/workflows/store_pytest_durations.yml
vendored
2
.github/workflows/store_pytest_durations.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
- name: Run unit tests
|
||||
id: run_tests
|
||||
continue-on-error: true
|
||||
run: uv run pytest src/backend/tests/unit --durations-path src/backend/tests/.test_durations --splitting-algorithm least_duration --store-durations
|
||||
run: uv run pytest src/backend/tests/unit --timeout=120 --durations-path src/backend/tests/.test_durations --splitting-algorithm least_duration --store-durations
|
||||
- name: Minimize uv cache
|
||||
run: uv cache prune --ci
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue