Skip to content

Commit df18bcb

Browse files
committedJan 2, 2023
Do not run test coverage on windows
Fails with Path contains invalid characters: D:\a\npm-publish\npm-publish\coverage\lcov-report\webpack:\@jsdevtools\npm-publish\src
1 parent f2c1984 commit df18bcb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎.github/workflows/CI-CD.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,15 @@ jobs:
5050
run: npm run build
5151

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

56+
- name: Run tests without coverage
57+
if: startsWith(matrix.os, "windows")
58+
run: npm test
59+
5560
- name: Send code coverage results to Coveralls
61+
if: '!startsWith(matrix.os, "windows")'
5662
uses: coverallsapp/github-action@v1.1.0
5763
with:
5864
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Failed to load comments.