From 62583fdba2a06b64311592e88f244ee3ab51f776 Mon Sep 17 00:00:00 2001 From: Anthony Coughlin Date: Tue, 17 Dec 2024 16:49:55 +0000 Subject: [PATCH] Container debug 3 --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58e598c2f5..7c68d0531d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,9 +46,11 @@ jobs: fi - name: Run Cypress Mock Tests in Parallel + env: + CONTAINER_INDEX: ${{ matrix.container }} run: | - echo "Running Cypress tests for container ${{ matrix.container }}..." - cd ./frontend && npm run test:cypress-ci -- --headless --no-sandbox --spec $(echo "$TEST_FILES" | tr ',' '\n' | awk -v container="${{ matrix.container }}" 'NR % 5 == container - 1' | tr '\n' ',') + echo "Running Cypress tests for container $CONTAINER_INDEX..." + cd ./frontend && npm run test:cypress-ci -- --headless --no-sandbox --spec $(echo "$TEST_FILES" | tr ',' '\n' | awk -v container="$CONTAINER_INDEX" 'NR % 5 == container - 1' | tr '\n' ',') - uses: actions/upload-artifact@v4 if: ${{ always() }} with: