[repo] Layers: control's integration tests four at a time on the shared runner

This commit is contained in:
2026-12-02 14:19:42 +01:00
parent be7a805ef2
commit d0c1ac2548
+5
View File
@@ -13,6 +13,11 @@ runner: nixos
env: env:
CARGO_TERM_COLOR: "never" CARGO_TERM_COLOR: "never"
CARGO_BUILD_JOBS: "8" CARGO_BUILD_JOBS: "8"
# Each of control's integration tests starts its own edge, Caddy and upstreams, and the tests give edge a 2 s
# margin to hear control's confirmation (production: 30 s). Run all at once on the shared runner, a status call
# can take longer than that and edge reverts the trial by itself, as designed (runs rc344zj96yjz1 and
# rqzephjsp7983, 2026-12-02). Four at a time keeps the runner within the margin.
RUST_TEST_THREADS: "4"
steps: steps:
- id: workspace-tests - id: workspace-tests
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --workspace --no-fail-fast run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --workspace --no-fail-fast