Closed Carreau closed 2 months ago
cc @trallard
See https://github.com/Carreau/pydata-sphinx-theme/pull/1 for the type of comments it posts.
Thanks @Carreau I will check later today Aside I have a CI refactor (you can see a run here https://github.com/trallard/pydata-sphinx-theme/actions/runs/8559269974) that uploads the coverage so we can sync on how to proceed
Small question here, is this tool still generating a dashboard ? to me that's the main functionality of codecov, the interactivity is great and it's super easy to spot what is wrong. If we really want to drop codecov (which seems to be the consensus) I'm using this for creating dashboard artifact in Azure pipelines I guess that could be used here as well: https://github.com/danielpalme/ReportGenerator
No this does not cover the report this only adds the pr comment. The report generation and codecov replacement is to be covered in a separate pr.
Any specific reason why you want to add this information in PRs then ? because the only instruction we are giving to codecov currently is to not send report to PR: https://github.com/pydata/pydata-sphinx-theme/blob/main/codecov.yml
for me at least, seeing coverage info in the PR comment tells me whether or not I should pester the contributor to add/modify a test (or add one myself). So it's useful.
I can look into not having a comment but having a status check that is red only of coverage decreases. Maybe that would lower the notification noise, but without removing the notification of needing more coverage ?
I am +1 with @drammock having coverage info is useful on PRs.
I am not sure if one of the reasons why we do not have codecov PR messages right now has to do with the flakiness we are experiencing, but also I am not too worried about this PR adding too much noise as is.
I just wanted to point out the current status, if you are fine receiving notification I'm fine as well (I never silence them myself)
Since we all seem to be +1 on trying this codec implementation, the PR has been reviewed. I suggest we merge, see how this goes and make changes/tweaks as needed.
See #1753