Skip to content

Commit a834e17

Browse files
authored
ci: use env vars for shard parameters (RocketChat#39610)
1 parent eb3ad21 commit a834e17

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci-test-e2e.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,14 @@ jobs:
263263
QASE_REPORT: ${{ github.ref == 'refs/heads/develop' && 'true' || '' }}
264264
CI: true
265265
PLAYWRIGHT_RETRIES: ${{ inputs.retries }}
266+
E2E_SHARD: ${{ matrix.shard }}
267+
E2E_TOTAL_SHARD: ${{ inputs.total-shard }}
266268
working-directory: ./apps/meteor
267269
run: |
268270
set -o xtrace
269271
270272
yarn prepare
271-
yarn test:e2e --shard=${{ matrix.shard }}/${{ inputs.total-shard }}
273+
yarn test:e2e --shard="$E2E_SHARD/$E2E_TOTAL_SHARD"
272274
273275
- name: Merge ui coverage files
274276
if: inputs.type == 'ui' && inputs.coverage == matrix.mongodb-version

0 commit comments

Comments
 (0)