Skip to content

Commit

Permalink
Spec file debugger 6
Browse files Browse the repository at this point in the history
  • Loading branch information
antowaddle committed Dec 18, 2024
1 parent 48152f5 commit 5d5fc56
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
echo "Running Cypress tests for container $CONTAINER_INDEX..."
echo "Test Files: $TEST_FILES"
# Generate the list of spec files for this container and trim trailing comma
# Generate the list of spec files for this container and trim trailing comma
SPEC_FILES=$(echo "$TEST_FILES" | tr ',' '\n' | awk -v container="$CONTAINER_INDEX" 'NR % 5 == container - 1' | tr '\n' ',' | sed 's/,$//')
# Check if SPEC_FILES is empty
Expand All @@ -64,9 +64,3 @@ jobs:
echo "Spec files for this container- $SPEC_FILES"
cd ./frontend && npm run test:cypress-ci -- --headless --no-sandbox --spec "$SPEC_FILES"
fi
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: cypress-results-${{ strategy.job-index }}
path: ./frontend/src/__tests__/cypress/results/
overwrite: true

0 comments on commit 5d5fc56

Please sign in to comment.