-
Notifications
You must be signed in to change notification settings - Fork 30
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
Remove diff cover #257
Remove diff cover #257
Conversation
Ha of course.
|
1679c2b
to
4ef7766
Compare
Hmm... Is it a problem of a missing fetch ? But why didn't we have that with diff cover ? Time to explore... |
Ow damn you already have a branch for doing that :( https://github.com/py-cov-action/python-coverage-comment-action/tree/replace-diff-cover Sorry about the duplicated work ! |
It's of course not ideal, but no big problem, I had neglected the branch a bit anyway, because we had more important things at the time and and then I didn't deal with it. But the fact that I had already thought about it makes the review process easier for me. How do we want to proceed, do you want to get the CI passing first or should I review it now? |
I think the only thing needed is for me to push the missing git fetch. Let's say you're welcome to review once it's green :) |
4ef7766
to
2a98d71
Compare
Coverage reportThe coverage rate went from
Diff Coverage details (click to unfold)coverage_comment/main.py
coverage_comment/coverage.py
|
All green, rebased conflicts resolved, all yours :) |
2a98d71
to
8e29c41
Compare
Ok, I think all your comments have been addressed. |
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.
Yes, looks good
This PR removes diff-cover from the codebase:
git diff
The nice thing is that the tests barely need to change.
We bump the docker image version number in the process, but I believe the old action will run on the new image, and vice versa (thanks to the
pip install .
that we left inDockerfile
) so I don't think we need to do anything specific for this to work.