mirror of https://github.com/astral-sh/ruff
25 lines
756 B
TOML
25 lines
756 B
TOML
# Define serial test group for running tests sequentially.
|
|
[test-groups]
|
|
serial = { max-threads = 1 }
|
|
|
|
# Run ty file watching tests sequentially to avoid race conditions.
|
|
[[profile.default.overrides]]
|
|
filter = 'binary(file_watching)'
|
|
test-group = 'serial'
|
|
|
|
[profile.ci]
|
|
# Print out output for failing tests as soon as they fail, and also at the end
|
|
# of the run (for easy scrollability).
|
|
failure-output = "immediate-final"
|
|
# Do not cancel the test run on the first failure.
|
|
fail-fast = false
|
|
|
|
status-level = "skip"
|
|
|
|
# Mark tests that take longer than 1s as slow.
|
|
# Terminate after 60s as a stop-gap measure to terminate on deadlock.
|
|
slow-timeout = { period = "1s", terminate-after = 60 }
|
|
|
|
# Show slow jobs in the final summary
|
|
final-status-level = "slow"
|