chore: add nextest cover profile, update backward-compat imports

Nextest cover profile for cargo llvm-cov integration.
Update existing test imports from load_workflow_from_str to
load_single_workflow_from_str for backward compatibility.
This commit is contained in:
2026-03-26 14:15:50 +00:00
parent 856edbd22e
commit 20f32531b7
7 changed files with 39 additions and 28 deletions

View File

@@ -34,6 +34,17 @@ retries = 2
[profile.ci.junit]
path = "target/nextest/ci/junit.xml"
[profile.cover]
# Coverage profile — used with cargo llvm-cov nextest
fail-fast = false
test-threads = "num-cpus"
failure-output = "immediate-final"
success-output = "never"
slow-timeout = { period = "60s", terminate-after = 2 }
[profile.cover.junit]
path = "target/nextest/cover/junit.xml"
# Postgres tests must run serially (shared database state)
[[profile.default.overrides]]
filter = "package(wfe-postgres)"