fix: add env var for cypress-split

This commit is contained in:
Saqib Ansari 2026-03-19 13:26:55 +05:30
parent c485bacbcd
commit 01f2b83e31

View file

@ -115,6 +115,8 @@ jobs:
--ci-build-id $GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT
env:
CYPRESS_RECORD_KEY: 4a48f41c-11b3-425b-aa88-c58048fa69eb
SPLIT: ${{ inputs.parallel-runs }}
SPLIT_INDEX: ${{ strategy.job-index }}
- name: Stop server and wait for coverage file
if: inputs.enable-coverage
@ -131,7 +133,7 @@ jobs:
path: ./apps/${{ github.event.repository.name }}/.cypress-coverage/clover.xml
- name: Compress Cypress Videos
if: always() && steps.ui-tests.outcome == 'failure'
run: |
run: |
if find ./cypressVideos -mindepth 1 | read; then
zip -r cypress_recordings.zip ./cypressVideos
fi
@ -142,7 +144,7 @@ jobs:
name: Cypress CI Video Recordings
path: ./cypress_recordings.zip
- name: Upload coverage data
uses: actions/upload-artifact@v7
@ -150,7 +152,7 @@ jobs:
with:
name: coverage-py-${{ matrix.index }}
path: ./sites/*-coverage*.xml
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ failure() && contains( github.event.pull_request.labels.*.name, 'debug-gha') }}