From f80e664fb36f7f3a32060732052382ba07d60ed6 Mon Sep 17 00:00:00 2001 From: jedarden Date: Sat, 23 May 2026 11:42:44 -0400 Subject: [PATCH] ci(pdftract-5rvp9): add nextest configuration for CI Add .config/nextest.toml with ci and ci-proptest profiles: - ci: JUnit output, 60s slow test timeout, retry on flaky tests - ci-proptest: Higher timeouts, no retries for proptest Relates to pdftract-5rvp9: Phase 0.3b glibc test leg implementation Co-Authored-By: Claude Opus 4.7 --- .config/nextest.toml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .config/nextest.toml diff --git a/.config/nextest.toml b/.config/nextest.toml new file mode 100644 index 0000000..07b8a10 --- /dev/null +++ b/.config/nextest.toml @@ -0,0 +1,39 @@ +# nextest configuration for pdftract +# +# Profiles: +# - ci: CI test runner with JUnit output, 60s slow test timeout, retry on flaky +# - ci-proptest: Property test profile with higher timeouts and no retries +# +# Usage: +# cargo nextest run --profile ci +# cargo nextest run --profile ci-proptest --features proptest --proptest +# +# For JUnit output: cargo nextest run --profile ci --message-format junit + +[store] +# Nextest test data location (default: target/nextest) +dir = "target" + +[profile.ci] +# CI profile: fast failure, JUnit output, retries for flaky tests +# Status: "fail-fast" - stop on first failure +# Retry: 1 retry on known-flaky tests (those marked with [rstest] +# or identified by nextest as flaky) +fail-fast = true +retries = 1 + +# Test execution timeout (60 seconds for slow tests) +slow-timeout = "60s" + +[profile.ci-proptest] +# Property test profile: higher timeouts, no retries (proptest failures are deterministic) +# Status: "fail-fast" - stop on first failure +# No retries: proptest minimization is deterministic, retries waste CI time +fail-fast = true +retries = 0 + +# Test execution timeout (120 seconds for proptest shrinks) +slow-timeout = "120s" + +# No JUnit output for proptest (use cargo nextest's native output) +