Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add back correct test script and parallelize mocha
Browse files Browse the repository at this point in the history
shamilovtim committed Mar 6, 2024
1 parent c5e3183 commit 0782a50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
@@ -55,8 +55,11 @@ jobs:
node node_modules/@web5/dwn-server/dist/esm/src/main.js &
echo "DWN_SERVER_BACKGROUND_PROCESS=$!" >> $GITHUB_ENV
- name: Build tests for all packages
run: pnpm --recursive --stream --sequential build:tests:node

- name: Run tests for all packages
run: npm run test:node --ws -- --color
run: pnpm --recursive --stream exec c8 mocha -- --color --reporter mocha-junit-reporter --reporter-options mochaFile=./results.xml
env:
TEST_DWN_URL: http://localhost:3000

0 comments on commit 0782a50

Please sign in to comment.