ci: build the dashboard tests one rustc at a time (#933)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped

This commit was merged in pull request #933.
This commit is contained in:
sharang committed 2026-11-06 21:05:29 +00:00
1 parent 9f2e78c6c4
commit 168cbe98f8
1 file changed
+7
+7
View File
@@ -151,9 +151,16 @@ jobs:
# compliance-core's integration tests need no services.
- name: Tests (core integration)
run: cargo test -p compliance-core --tests
# The dashboard crate compiles as the library and as its test harness at
# once, each rustc at about 1.65 GB: two of them exceed the job's 3 GiB
# and get OOM-killed (signal 9). One at a time for these two steps.
- name: Tests (dashboard server)
env:
CARGO_BUILD_JOBS: "1"
run: cargo test -p compliance-dashboard --features server --no-default-features
- name: Tests (dashboard web)
env:
CARGO_BUILD_JOBS: "1"
run: cargo test -p compliance-dashboard --features web --no-default-features
- name: Show sccache stats