Skip to content

Commit

Permalink
Using npm test script for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
targendaz2 committed Mar 29, 2024
1 parent 669b8a2 commit c0abf57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
- run: mkdir -p junit

- name: Run bats tests
run: ./node_modules/.bin/bats --recursive --formatter junit tests/ > junit/${{ matrix.os }}.xml
run: npm test --recursive --formatter junit tests/ > junit/${{ matrix.os }}.xml

- name: Publish bats test results
uses: dorny/test-reporter@v1
if: ${{ always() }}
with:
name: test results (${{ matrix.os }})
path: junit/${{ matrix.os }}.xml
reporter: jest-junit
reporter: jest-junit

0 comments on commit c0abf57

Please sign in to comment.