Skip to content

Commit

Permalink
Add display of mocha results
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos authored Dec 7, 2023
1 parent d5a6cf6 commit 3320c53
Show file tree
Hide file tree
Showing 4 changed files with 309 additions and 7 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,12 @@ jobs:

- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm test

- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Mocha Tests # Name of the check run which will be created
path: reports/json/results.json # Path to test results
reporter: mocha-json # Format of test results
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/*
report/*
293 changes: 292 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3320c53

Please sign in to comment.