-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Enforced test coverage via CI #2201
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
base: main
Are you sure you want to change the base?
Conversation
My understanding is this was an easy & quick & dirty alternative for failing Coveralls integration. Now that Coveralls is working again, I don't think this is needed. We can, of course, merge it but I don't think the result will be meaningful. |
@ulgens To close the loop on this one, do you object to enforcing no decreases in test coverage via CI? Or do your comments and downvote stem from preferring to keep Coveralls or a different tool? As mentioned here, this was the solution preferred by the Website WG during its last meeting, not an "easy & quick & dirty alternative" when Coveralls went down. This may go without saying, but I also invite you to propose some positive changes with the coverage solution you would like to see. I don't think these two ideas are mutually exclusive. 🙂 |
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.
👍 This looks good to me since I hope any new code would include tests.
I don't agree that this change does what you describe here. Regardless of the coveralls situation, I do think that this is not a good metric to follow up and enforce. As I mentioned earlier, the thing that provides value to the development process is the understanding of what is covered and how it changes, rather than an arbitrary numeric value about how much is covered. As a general take on the topic, I don't think this discussion is going healthy. There was a weird push and rush to remove the integration without proper reasoning, and things were being framed as "everyone wants to remove it!" when it's not the case. Regardless of the final result, I believe we can and should have more respectful discussions instead of acting like one party has the complete authority and the other one is wrong by default. |
@tobiasmcnulty Sounds good, thanks! |
Ensures test coverage does not fall below 80% (currently 81%) via
make ci
. This limit can be increased as test coverage is added.