| 1 | #!/bin/sh |
| 2 | # Whole config group proof: complete actual production closure, service-free |
| 3 | # normal graph, no-default library check, and executing portable tests. |
| 4 | # Every Cargo process completes before the next; inspect all-target normal edges. |
| 5 | set -eu |
| 6 | cd "$(dirname "$0")/.." |
| 7 | graph=$(mktemp) |
| 8 | trap 'rm -f "$graph"' EXIT HUP INT TERM |
| 9 | cargo tree --locked -p codewhale-portable-config --edges normal --target all --prefix none > "$graph" |
| 10 | cat "$graph" |
| 11 | python3 -B scripts/check-command-config-proof.py --graph "$graph" |
| 12 | cargo check --locked -p codewhale-portable-config --lib --no-default-features |
| 13 | env CARGO_TERM_COLOR=always CARGO_INCREMENTAL=0 RUSTFLAGS=-Dwarnings RUST_MIN_STACK=16777216 CODEWHALE_EXT_HOST_TESTS=1 sh scripts/with-hermetic-test-home.sh cargo nextest run -p codewhale-portable-config --lib --all-features --locked --profile ci --no-tests=fail |
| 14 |