File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
name : Set Chunks
19
19
# Extracts the list of all test files, then uses js to split them into groups to allocate to each worker. The JSON is sent to the job output
20
20
run :
21
- echo "test-chunks=$(npx jest -c test/e2e/jest.config.js --listTests --json | jq -cM '[_nwise(length / 24 |
21
+ echo "test-chunks=$(npx jest -c test/e2e/jest.config.all. js --listTests --json | jq -cM '[_nwise(length / 24 |
22
22
floor)]')" >> $GITHUB_OUTPUT
23
23
24
24
- id : set-test-chunk-ids
49
49
run :
50
50
# Gets the list of test files for the current chunk ID and runs them, saving the results as a JUnit XML file
51
51
echo $CHUNKS | jq '.[${{ matrix.chunk }}] | .[] | @text' | xargs npx jest --reporters=jest-junit
52
- --reporters=default -c test/e2e/jest.config.js
52
+ --reporters=default -c test/e2e/jest.config.all. js
53
53
env :
54
54
CHUNKS : ${{ needs.setup.outputs['test-chunks'] }}
55
55
NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_BOT_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments