Skip to content

Commit

Permalink
Spec file debugger 2
Browse files Browse the repository at this point in the history
  • Loading branch information
antowaddle committed Dec 17, 2024
1 parent 144c3bb commit 14accb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 14accb3

Please sign in to comment.