From 14accb344359e1d78052d122327797e845ddae61 Mon Sep 17 00:00:00 2001 From: Anthony Coughlin Date: Tue, 17 Dec 2024 17:13:13 +0000 Subject: [PATCH] Spec file debugger 2 --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5617765860..edd56f7bd4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,11 +48,12 @@ jobs: - name: Run Cypress Mock Tests in Parallel env: CONTAINER_INDEX: ${{ matrix.container }} + TEST_FILES: ${{ steps.test-files.outputs.files }} run: | echo "Running Cypress tests for container $CONTAINER_INDEX..." - echo "Test Files: $TEST_FILES" # Debugging line + echo "Test Files: $TEST_FILES" 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 + - uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: cypress-results-${{ strategy.job-index }}