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 badge showing coverage unknown #1753

Open
Dolov opened this issue Apr 3, 2024 · 1 comment
Open

Coveralls badge showing coverage unknown #1753

Dolov opened this issue Apr 3, 2024 · 1 comment

Comments

@Dolov
Copy link

Dolov commented Apr 3, 2024

Hello, I am trying to generate a test coverage badge for my project using Coveralls. However, as this is my first time working with this tool, I have encountered some unexpected issues that I have been unable to resolve myself. The test report is being generated, but the coverage badge is not displaying as expected.

The situation is similar to the one described in the issue (#1414) but there are some differences in my case. this my process below.

  1. After committing my code to GitHub
  2. Travis CI performs the build and sends the test report to Coveralls using the following command
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v

I can see that Coveralls is receiving the test report and recognizes that it is from a Travis CI build. However, there is no branch information included, which I believe is the reason why the coverage badge is not being displayed.

this is my repo https://coveralls.io/github/Dolov/ctrl-timer
I have tried delete coverall repos、set travis env -repotoken $COVERALLS_TOKEN、change other branch, but none of it worked.

I look forward to your response and assistance in resolving this issue. Thank you.

@Dolov
Copy link
Author

Dolov commented Apr 3, 2024

~ I delete coverall repos , then re add the github repos, but can not receive coverage from travis, i guess i need create a new git repos

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

1 participant