Skip to content

Commit

Permalink
Merge pull request #20 from joncloud/export-and-publish-tests
Browse files Browse the repository at this point in the history
Publishes test results
  • Loading branch information
joncloud authored Nov 13, 2021
2 parents f94bbd6 + 132f9db commit 036c5a8
Show file tree
Hide file tree
Showing 1,723 changed files with 68,349 additions and 102,318 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,14 @@ jobs:
run: sudo chown -R $(whoami) /usr/share/nsis/Plugins/
if: ${{ matrix.os == 'ubuntu-20.04' }}

- run: npm test
- name: 'Test'
run: npm test -- --reporter json --reporter-options output=./report-${{ matrix.os }}.json

- name: 'Publish Tests'
uses: 'dorny/test-reporter@v1'
# run this step even if previous step failed
if: ${{ !env.ACT }} && (success() || failure())
with:
name: 'Tests ${{ matrix.os }}'
path: 'report-${{ matrix.os }}.json'
reporter: mocha-json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ nsis/nsis/
*.exe
.DS_Store
.ionide
report*.json
15 changes: 0 additions & 15 deletions node_modules/.bin/esparse

This file was deleted.

17 changes: 0 additions & 17 deletions node_modules/.bin/esparse.cmd

This file was deleted.

18 changes: 0 additions & 18 deletions node_modules/.bin/esparse.ps1

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/.bin/esvalidate

This file was deleted.

17 changes: 0 additions & 17 deletions node_modules/.bin/esvalidate.cmd

This file was deleted.

18 changes: 0 additions & 18 deletions node_modules/.bin/esvalidate.ps1

This file was deleted.

15 changes: 15 additions & 0 deletions node_modules/.bin/nanoid

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

17 changes: 17 additions & 0 deletions node_modules/.bin/nanoid.cmd

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

18 changes: 18 additions & 0 deletions node_modules/.bin/nanoid.ps1

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

21 changes: 0 additions & 21 deletions node_modules/@types/color-name/LICENSE

This file was deleted.

16 changes: 0 additions & 16 deletions node_modules/@types/color-name/README.md

This file was deleted.

161 changes: 0 additions & 161 deletions node_modules/@types/color-name/index.d.ts

This file was deleted.

Loading

0 comments on commit 036c5a8

Please sign in to comment.