From a834e1707691413778cb74f379328929979541f1 Mon Sep 17 00:00:00 2001 From: Matheus Cardoso Date: Sat, 14 Mar 2026 16:51:22 -0300 Subject: [PATCH] ci: use env vars for shard parameters (#39610) --- .github/workflows/ci-test-e2e.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-test-e2e.yml b/.github/workflows/ci-test-e2e.yml index 272c26b7b398b..d8fd21a6e707d 100644 --- a/.github/workflows/ci-test-e2e.yml +++ b/.github/workflows/ci-test-e2e.yml @@ -263,12 +263,14 @@ jobs: QASE_REPORT: ${{ github.ref == 'refs/heads/develop' && 'true' || '' }} CI: true PLAYWRIGHT_RETRIES: ${{ inputs.retries }} + E2E_SHARD: ${{ matrix.shard }} + E2E_TOTAL_SHARD: ${{ inputs.total-shard }} working-directory: ./apps/meteor run: | set -o xtrace yarn prepare - yarn test:e2e --shard=${{ matrix.shard }}/${{ inputs.total-shard }} + yarn test:e2e --shard="$E2E_SHARD/$E2E_TOTAL_SHARD" - name: Merge ui coverage files if: inputs.type == 'ui' && inputs.coverage == matrix.mongodb-version