Skip to content

Commit 6c3b054

Browse files
ci: fix
1 parent 657c62a commit 6c3b054

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/test.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,19 @@ jobs:
244244
- name: Build (Windows)
245245
if: matrix.os == 'windows-latest'
246246
run: go build -v ./...
247+
248+
# Summary job that depends on all matrix jobs
249+
# This provides a single status check for branch protection
250+
test-summary:
251+
name: Test Summary
252+
needs: [lint, test-and-build]
253+
runs-on: ubuntu-latest
254+
if: always()
255+
steps:
256+
- name: Check test results
257+
run: |
258+
if [ "${{ needs.test-and-build.result }}" != "success" ]; then
259+
echo "Tests failed or were cancelled"
260+
exit 1
261+
fi
262+
echo "All tests passed successfully"

0 commit comments

Comments
 (0)