Skip to content

Commit 83e9823

Browse files
committed
Add summary job to CI workflow
1 parent 51fdb7e commit 83e9823

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,15 @@ jobs:
4444
run: bundle exec rake test:acceptance RUBYOPT="${{ matrix.rubyopt }}"
4545
timeout-minutes: 10
4646
if: ${{ matrix.rails != 'edge' && matrix.ruby != 'head' }} # Acceptance tests use `gem install rails && rails new`
47+
48+
summary:
49+
runs-on: ubuntu-latest
50+
needs: tests
51+
if: always()
52+
steps:
53+
- name: Check test matrix results
54+
run: |
55+
if [ "${{ needs.tests.result }}" != "success" ]; then
56+
echo "Tests failed or were cancelled"
57+
exit 1
58+
fi

0 commit comments

Comments
 (0)