Skip to content

Commit

Permalink
chore: fixing parallelism for cypress component tests []
Browse files Browse the repository at this point in the history
  • Loading branch information
aodhagan-cf committed Sep 30, 2024
1 parent 016724b commit 6d2bd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- run:
name: Run cypress component tests
command: |
TESTFILES=$(circleci tests glob cypress/component/**/*.ts | circleci tests split --split-by=timings --timings-type=filename | tr '\n' ',')
TESTFILES=$(circleci tests glob cypress/component/**/*.ts | circleci tests split --split-by=timings --timings-type=filename | awk '{if (NR>1) printf ","; printf "%s", $0} END {if (NR>0) printf " "}')
npx cypress run --component \
--spec "${TESTFILES}" \
--reporter junit \
Expand Down

0 comments on commit 6d2bd6c

Please sign in to comment.