Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,27 @@ jobs:
- run:
command: |
cd code
TEST_FILES=$(circleci tests glob "**/*.{test,spec,stories}.{ts,tsx,js,jsx,cjs}" | sed "/^e2e-tests\//d" | sed "/^node_modules\//d")
TEST_FILES=$(circleci tests glob "**/*.{test,spec}.{ts,tsx,js,jsx,cjs}" | sed "/^e2e-tests\//d" | sed "/^node_modules\//d")
echo "$TEST_FILES" | circleci tests run --command="xargs yarn test --reporter=junit --reporter=default --outputFile=../test-results/junit-${CIRCLE_NODE_INDEX}.xml" --verbose
name: Run tests
- store_test_results:
path: test-results
- report-workflow-on-failure
- cancel-workflow-on-failure
stories-tests:
executor:
class: xlarge
name: sb_playwright
parallelism: 2
steps:
- git-shallow-clone/checkout_advanced:
clone_options: --depth 1 --verbose
- attach_workspace:
at: .
- run:
command: |
cd code
TEST_FILES=$(circleci tests glob "**/*.{stories}.{ts,tsx,js,jsx,cjs}" | sed "/^e2e-tests\//d" | sed "/^node_modules\//d")
echo "$TEST_FILES" | circleci tests run --command="xargs yarn test --reporter=junit --reporter=default --outputFile=../test-results/junit-${CIRCLE_NODE_INDEX}.xml" --verbose
name: Run tests
- store_test_results:
Expand Down Expand Up @@ -936,6 +956,9 @@ workflows:
- unit-tests:
requires:
- build
- stories-tests:
requires:
- build
- script-checks:
requires:
- build
Expand Down Expand Up @@ -1022,6 +1045,9 @@ workflows:
- unit-tests:
requires:
- build
- stories-tests:
requires:
- build
- script-checks:
requires:
- build
Expand Down Expand Up @@ -1092,6 +1118,9 @@ workflows:
- unit-tests:
requires:
- build
- stories-tests:
requires:
- build
- script-checks:
requires:
- build
Expand Down
Loading