Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coveralls fails with Windows runner #175

Open
frbuceta opened this issue May 22, 2023 · 3 comments
Open

Coveralls fails with Windows runner #175

frbuceta opened this issue May 22, 2023 · 3 comments

Comments

@frbuceta
Copy link

Coverrals does not work using Windows as runner in GitHub Actions. See failed job

image

@mrexox
Copy link
Contributor

mrexox commented May 23, 2023

Hey! Thank you for reporting. I have investigated the issue and it looks like there is a problem with auto-searching for coverage files on Windows. I assume this is not easy to fix, so I'd like to suggest you a workaround.

diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml
index 6833a7832b..cef9e783bf 100644
--- a/.github/workflows/continuous-integration.yml
+++ b/.github/workflows/continuous-integration.yml
@@ -52,7 +52,7 @@ jobs:
         with:
           flag-name: run-${{ matrix.os }}-node@${{ matrix.node-version }}
           github-token: ${{ secrets.GITHUB_TOKEN }}
+          file: coverage/lcov.info
           parallel: true

   post-test:

Providing file skips searching, so the error won't appear, and everything should go OK.

Anyway I will continue investigation of this issue and try fixing it.

@agronholm
Copy link

This workaround then does not work on macOS:
image

@agronholm
Copy link

Now it seems to work at brew installs a more recent (0.6.4) version of coveralls instead of 0.5.2 in the above screenshot. Is there any way it could be made to install a coveralls version that wasn't so badly out of date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants