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 df18bcb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CI-CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@ 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
if: '!startsWith(matrix.os, "windows")'
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit df18bcb

Please sign in to comment.