PhotoCraft: An open-source, photo editor written by scratch in pure Rust
CI: run panic_hunt in the Linux test job
Ivan45afd2e9d7c8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4303f0aac..ba8243353 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -193,6 +193,16 @@ jobs:cargo nextest run --profile ci --workspace --locked --features heif "${targets[@]}"shell: bash+ # Every command against adversarial params must return Err, never panic or hang (AGENTS.md+ # Rule 9). It is `#[ignore]`d (slow), so Test skips it. Same packages, features and targets as+ # Test, so nothing rebuilds: `--test panic_hunt` would drop the other crates' dev-dependency+ # features and recompile the whole graph. The `ci` profile terminates it if it hangs.+ - name: Panic hunt+ if: runner.os == 'Linux'+ run: >-+ cargo nextest run --profile ci --workspace --locked --features heif --lib --bins --tests+ --run-ignored only -E 'binary_id(photocraft-engine::panic_hunt)'+- name: Doctestsif: matrix.part == 'all' || matrix.part == 'unit'run: cargo test --workspace --locked --features heif --doc