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
Coverage changes after each run #1075
Comments
Just a wild guess but I had a similar issue cause by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm new to using Ruby so I apologized if this is a simple question, but every time I run my tests my
coverage\index.html
is giving me a different output.The strange thing is, the output is correct and consistent within my Github Actions pipeline.
My `.simplecov` file
Here is the relevant part of my Gitlab CI workflow
This is the output when I run the tests locally changes each time, but ranges from 50-65%
This is the output generated from my testing pipeline. It's always accurate and consistent (~90%)
Are you able to help me determine why the coverage is not the same when run codecov locally?
How to replicate the issue
git clone [email protected]:Minituff/nautical-backup.git
gem install bashcov simplecov-cobertura simplecov-html
bashcov ./tests/tests.sh && ls -la coverage
My repo is open source so feel free to look around if I did not include something
https://github.com/Minituff/nautical-backup
Thanks!
The text was updated successfully, but these errors were encountered: