Skip to content

Commit d9e5dc3

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

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,16 @@ 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 job in the unit_tests 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
193+
needs: compat-test-chrome
194+
steps:
195+
- name: Check test matrix
196+
if: needs.test-chrome.result != 'success' || needs.compat-test-chrome.result != 'success'
197+
run: exit 1

0 commit comments

Comments
 (0)