mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 13:30:11 -05:00
Use nextest profiles to configure CI (#17220)
This centralises the configuration and allows certain overrides to be CI specific.
This commit is contained in:
committed by
GitHub
parent
543f1f3f59
commit
c19e22fb0b
@@ -3,6 +3,30 @@
|
||||
# Terminate after 120s as a stop-gap measure to terminate on deadlock.
|
||||
slow-timeout = { period = "10s", terminate-after = 12 }
|
||||
|
||||
[profile.ci-linux]
|
||||
slow-timeout = { period = "10s", terminate-after = 12 }
|
||||
test-threads = 20
|
||||
status-level = "skip"
|
||||
final-status-level = "slow"
|
||||
failure-output = "immediate-final"
|
||||
fail-fast = false
|
||||
|
||||
[profile.ci-macos]
|
||||
slow-timeout = { period = "10s", terminate-after = 12 }
|
||||
test-threads = 12
|
||||
status-level = "skip"
|
||||
final-status-level = "slow"
|
||||
failure-output = "immediate-final"
|
||||
fail-fast = false
|
||||
|
||||
[profile.ci-windows]
|
||||
slow-timeout = { period = "10s", terminate-after = 12 }
|
||||
test-threads = 20
|
||||
status-level = "skip"
|
||||
final-status-level = "slow"
|
||||
failure-output = "immediate-final"
|
||||
fail-fast = false
|
||||
|
||||
[test-groups]
|
||||
serial = { max-threads = 1 }
|
||||
|
||||
|
||||
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -290,7 +290,7 @@ jobs:
|
||||
--cargo-profile fast-build \
|
||||
--features python-patch,native-auth,secret-service \
|
||||
--workspace \
|
||||
--status-level skip --failure-output immediate-final --no-fail-fast -j 20 --final-status-level slow
|
||||
--profile ci-linux
|
||||
|
||||
cargo-test-macos:
|
||||
timeout-minutes: 20
|
||||
@@ -333,7 +333,7 @@ jobs:
|
||||
--no-default-features \
|
||||
--features python,python-managed,pypi,git,git-lfs,performance,crates-io,native-auth,apple-native \
|
||||
--workspace \
|
||||
--status-level skip --failure-output immediate-final --no-fail-fast -j 12 --final-status-level slow
|
||||
--profile ci-macos
|
||||
|
||||
cargo-test-windows:
|
||||
timeout-minutes: 15
|
||||
@@ -389,7 +389,7 @@ jobs:
|
||||
--no-default-features \
|
||||
--features python,pypi,python-managed,native-auth,windows-native \
|
||||
--workspace \
|
||||
--status-level skip --failure-output immediate-final --no-fail-fast -j 20 --final-status-level slow
|
||||
--profile ci-windows
|
||||
|
||||
# Separate jobs for the nightly crate
|
||||
windows-trampoline-check:
|
||||
|
||||
Reference in New Issue
Block a user