Skip to content

Commit 6614f18

Browse files
committed
Fix issue with test suite jobs not reporting overall completion
1 parent e897859 commit 6614f18

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,21 @@ jobs:
104104
run: cargo run --target ${{ matrix.target }}
105105
working-directory: ${{ github.workspace }}
106106

107+
# Aggregation job that reports overall test suite status
108+
test-complete:
109+
name: Test Suite
110+
needs: [test]
111+
runs-on: ubuntu-latest
112+
if: always()
113+
steps:
114+
- name: Check test results
115+
run: |
116+
if [ "${{ needs.test.result }}" != "success" ]; then
117+
echo "One or more test jobs failed"
118+
exit 1
119+
fi
120+
echo "All test jobs passed successfully"
121+
107122
# Build release binaries for all platforms
108123
build:
109124
name: Build Release (${{ matrix.os }})

0 commit comments

Comments
 (0)