@@ -215,56 +215,6 @@ jobs:
215215 if : needs.unit-tests.result != 'success'
216216 run : exit 1
217217
218- test-coverage-shard :
219- if : ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
220- name : " Test Coverage (shard ${{ matrix.shard }})"
221- runs-on : ubuntu-latest
222- timeout-minutes : 30
223- strategy :
224- matrix :
225- shard : ['1/2', '2/2']
226- steps :
227- - uses : actions/checkout@v3
228- with :
229- repository : ${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }}
230- ref : ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }}
231- fetch-depth : 1
232- - name : Setup deps
233- uses : ./.github/actions/setup-cli-deps
234- with :
235- node-version : ${{ env.DEFAULT_NODE_VERSION }}
236- - name : Run coverage shard
237- uses : ./.github/actions/run-test-coverage-shard
238- with :
239- shard : ${{ matrix.shard }}
240-
241- test-coverage-merge :
242- if : ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
243- needs : test-coverage-shard
244- name : ' Test Coverage'
245- runs-on : ubuntu-latest
246- timeout-minutes : 15
247- steps :
248- - uses : actions/checkout@v3
249- with :
250- repository : ${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }}
251- ref : ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }}
252- fetch-depth : 1
253- - name : Setup deps
254- uses : ./.github/actions/setup-cli-deps
255- with :
256- node-version : ${{ env.DEFAULT_NODE_VERSION }}
257- - name : Merge and save test coverage
258- uses : ./.github/actions/merge-and-save-test-coverage
259- with :
260- branch-name : ${{ github.head_ref || github.event.merge_group.head_ref || github.ref_name }}
261- # Coverage execution is shared with tests-main; only publication stays PR-only.
262- - name : Download and publish test coverage
263- if : ${{ github.event_name == 'pull_request' }}
264- uses : ./.github/actions/download-and-publish-test-coverage
265- with :
266- base-branch-name : ' ${{ github.base_ref }}'
267-
268218 e2e-tests :
269219 name : ' E2E tests'
270220 if : github.event.pull_request.head.repo.full_name == github.repository
0 commit comments