commit 41fc02c1a113a01d6448ce25f421abf7b5cfdc88 parent 911701b2910be1e00c90795b113250d1c6bd0a0f Author: Jack Mordaunt <jackmordaunt.dev@gmail.com> Date: Fri, 18 Sep 2026 16:09:37 -0400 build: annotate library test failures The macOS leg fails where the oracle job passes, so the broader run is hiding something the annotations will name. Diffstat:
| M | .github/workflows/ci.yml | | | 12 | +++++++++++- |
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -32,7 +32,17 @@ jobs: cmd/preview/go.sum cmd/shell-extension/go.sum - run: go build ./... - - run: go test -count=1 ./... + - name: go test + # Windows runners default to PowerShell, and this is a shell script. + shell: bash + run: | + status=0 + go test -count=1 ./... 2>&1 | tee go-test.log || status=$? + if [ "$status" -ne 0 ]; then + grep -E '\.go:[0-9]+|FAIL' go-test.log | head -40 | + while IFS= read -r line; do echo "::error::$line"; done || true + fi + exit "$status" race: name: library under the race detector