mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-25 13:10:03 +00:00
450a551cf5
Compile all race-test binaries without execution only when source, graph, backend embeds or this admission path can affect Go. Preserve required check failures, docs/frontend-only skips and all full runtime/vet and frontend audit checks. Exercise inert and broken fixtures, diff classification and prerequisite propagation. Change-source: pulse-maintainer
12 lines
538 B
Bash
12 lines
538 B
Bash
#!/usr/bin/env bash
|
|
# Read the entire changed-file list. Source/manifests, embedded backend files
|
|
# and this admission path can affect the root Go module; frontend-only changes
|
|
# cannot invalidate its test API. An unavailable diff is handled as true by CI.
|
|
set -euo pipefail
|
|
|
|
if grep -E '^go\.(mod|sum)$|^(internal|cmd|pkg)/|^scripts/(compile-go-tests|go-test-compile-required|ensure_test_assets)\.sh$|^\.github/workflows/build-and-test\.yml$|\.(go|c|cc|cpp|h|s|S|syso)$' >/dev/null; then
|
|
printf 'true\n'
|
|
else
|
|
printf 'false\n'
|
|
fi
|