We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657c62a commit 6c3b054Copy full SHA for 6c3b054
.github/workflows/test.yaml
@@ -244,3 +244,19 @@ jobs:
244
- name: Build (Windows)
245
if: matrix.os == 'windows-latest'
246
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