Skip to content

Commit

Permalink
Do not run test coverage on windows
Browse files Browse the repository at this point in the history
Fails with Path contains invalid characters: D:\a\npm-publish\npm-publish\coverage\lcov-report\webpack:\@jsdevtools\npm-publish\src
  • Loading branch information
razor-x committed Jan 2, 2023
1 parent f2c1984 commit 6b200d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/CI-CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,13 @@ jobs:
run: npm run build

- name: Run tests
if: '!startsWith(matrix.os, "windows")'
run: npm run coverage

- name: Run tests without coverage
if: startsWith(matrix.os, "windows")
run: npm test

- name: Send code coverage results to Coveralls
uses: coverallsapp/[email protected]
with:
Expand Down

0 comments on commit 6b200d7

Please sign in to comment.