Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/cgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,16 @@ jobs:
# Generate coverage HTML report
go tool cover -html=coverage.out -o coverage.html

- name: Validate pkg/cli and pkg/console tests executed
run: |
set -euo pipefail
for package in pkg/cli pkg/console; do
if ! grep -q "\"Action\":\"run\",\"Package\":\"github.com/github/gh-aw/${package}\"" test-result-unit.json; then
echo "Missing unit test execution records for ${package}" >&2
exit 1
fi
done

- name: Report test failures
if: failure() && steps.run-unit-tests.outcome == 'failure'
run: |
Expand Down