-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add coverage report badge using Codecov #3136
Conversation
@rubenochiavone I've set up a |
c6b56e2
to
4e60492
Compare
b814bc8
to
a4882df
Compare
a9ef898
to
c078f9e
Compare
Hi there 👋 It's been a while since I last worked on this PR, but I think it is OK for being reviewed now. Things worth commenting on:
On #3048 I mentioned that would be interesting to have a report once a PR is created. So to check that I created a test PR to assess coverage validation during PRs and it is working on my fork: rubenochiavone#1. Installing codecov app on the project already does it - https://docs.codecov.io/docs/team-bot. Sorry for accidentally creating PR #3848 😬 |
Hey @rubenochiavone, thanks for resuming this work! Do you need anything from me to be changed in the CI (like adding secrets or stuff like that)? |
Hi @kennyadsl, the token you configured was enough. Check out the coverage report here: https://codecov.io/github/rubenochiavone/solidus/commit/b342cd9123a4d831087f034de0d66acc1f805156. I think that this PR is ready for review. Please let me know if this PR needs more work. |
Hey @rubenochiavone, I'm sorry it's been a while since we last moved it forward. Would you like to rebase it? |
Sure. 😃 |
c751bb9
to
26a005a
Compare
09b20da
to
f9e4a44
Compare
Hey @waiting-for-dev, besides the rebase, I had to rework the CI script to upload coverage data to codecov.io due to the deprecation of the Please let me know what you think about it. |
Hey @rubenochiavone, thanks for your continuous work on it 🙌 It looks like there're still some conflicts to resolve. |
Add code coverage report to the whole project (not only for each solidus gem) and code coverage badge to README.md. Add COVERAGE_DIR environment variable. This variable refers to the directory that collects coverage results between each solidus gem test execution and then will be used to calculate the combined coverage report. Improve build script to report code coverage for all solidus gems by using coverage rake task.
f9e4a44
to
f44af3f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks!! 🙌
Description
Add code coverage report to whole project (not only for each sub-project) and code coverage badge to
README.md
.Question
CODECOV_TOKEN
to be added in this PR.Fixes #3048
Checklist: