Run default and diagnostics tests independently of Clippy #127

Manually merged
github merged 1 commit from github-bot/gh-127 into main 2026-11-26 08:21:46 +00:00 AGit
Owner

@⁠feanorsun on GitHub · 2026-11-26 05:43 UTC · original
feanorsun:ci/independent-lint-and-diagnostics-tests → main · +36 −3 · 1 files · 1 commits · merged 2026-11-26 08:17 UTC

Closes #45

Closes #31

Both Clippy passes and the default workspace tests used to share one job. A lint failure skipped the tests, including xtask's repository_passes_policy. The all-features Clippy pass compiled diagnostics targets, but CI had no test command for that configuration. The skipped steps are visible in this earlier Windows run on main.

Clippy, default tests, and diagnostics tests now report as three independent Windows jobs. Clippy keeps both strict commands. The default job runs cargo test --workspace --locked. The diagnostics job runs cargo test --workspace --all-features --locked -- --test-threads=1, enabling the Windows replay tests gated on the GPU crate's diagnostics feature. The existing check name is retained for a summary that requires all three jobs to succeed.

Local verification

Parsed the original and revised YAML on Windows and checked the job dependencies, Cargo commands, and workspace feature definitions. Compared triggers, read-only permissions, per-ref cancellation, runner, timeout, toolchain setup, and cache steps. Checked the summary condition across success, failure, cancellation, and skipped outcomes. Local validation was static. No Cargo or graphics tests were run locally.

**@⁠feanorsun** on GitHub · 2026-11-26 05:43 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/127) `feanorsun:ci/independent-lint-and-diagnostics-tests` → `main` · +36 −3 · 1 files · 1 commits · merged 2026-11-26 08:17 UTC Closes #45 Closes #31 Both Clippy passes and the default workspace tests used to share one job. A lint failure skipped the tests, including xtask's `repository_passes_policy`. The all-features Clippy pass compiled diagnostics targets, but CI had no test command for that configuration. The skipped steps are visible in this [earlier Windows run on main](https://github.com/avatarmanz/VIctory-7900XTX/actions/runs/45712194691/job/139549162967). Clippy, default tests, and diagnostics tests now report as three independent Windows jobs. Clippy keeps both strict commands. The default job runs `cargo test --workspace --locked`. The diagnostics job runs `cargo test --workspace --all-features --locked -- --test-threads=1`, enabling the Windows replay tests gated on the GPU crate's `diagnostics` feature. The existing `check` name is retained for a summary that requires all three jobs to succeed. ## Local verification Parsed the original and revised YAML on Windows and checked the job dependencies, Cargo commands, and workspace feature definitions. Compared triggers, read-only permissions, per-ref cancellation, runner, timeout, toolchain setup, and cache steps. Checked the summary condition across success, failure, cancellation, and skipped outcomes. Local validation was static. No Cargo or graphics tests were run locally.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:12:44 +00:00
Author
Owner

@⁠avatarmanz on GitHub · 2026-11-26 07:55 UTC · original

Merged into main in the next push (tests pass); thanks.

**@⁠avatarmanz** on GitHub · 2026-11-26 07:55 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/127#issuecomment-7185985557) Merged into main in the next push (tests pass); thanks.
github manually merged commit c02db95318 into main 2026-11-26 08:21:46 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.