Skip to content

Commit c94ff86

Browse files
committed
new verify job
1 parent 96069c4 commit c94ff86

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test-changed-firestore.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,15 @@ jobs:
182182
run: cd packages/firestore && xvfb-run yarn run ${{ matrix.test-name }}
183183
env:
184184
BROWSERS: 'Firefox'
185+
186+
# A job that fails if any required job in the test matrix fails,
187+
# to be used as a required check for merging.
188+
check-required-tests:
189+
runs-on: ubuntu-latest
190+
if: always()
191+
name: Check all required tests results
192+
needs: [test-chrome, compat-test-chrome]
193+
steps:
194+
- name: Check test matrix
195+
if: needs.test-chrome.result == 'failure' || needs.compat-test-chrome.result == 'failure'
196+
run: exit 1

0 commit comments

Comments
 (0)