Skip to content
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 code coverage back in to SCons CI #4338

Open
mwichmann opened this issue Apr 14, 2023 · 3 comments
Open

Add code coverage back in to SCons CI #4338

mwichmann opened this issue Apr 14, 2023 · 3 comments
Labels
CI / buildbot Continuous Integration setups

Comments

@mwichmann
Copy link
Collaborator

mwichmann commented Apr 14, 2023

The codecov package has been removed from PyPI and fails the build:

if %COVERAGE% equ 1 .\.appveyor\install-cov.bat
Collecting coverage
  Using cached coverage-6.2-cp36-cp36m-win32.whl (182 kB)
ERROR: Could not find a version that satisfies the requirement codecov (from versions: none)
ERROR: No matching distribution found for codecov
Command exited with code 1
if ($env:COVERAGE -eq 1) { .\.appveyor\coverage_report.ps1 }

This was entirely intentional on the part of the company providing the package, and we have to seek alternatives.

https://about.codecov.io/blog/message-regarding-the-pypi-package/

Perhaps it's a good time to move a coverage build to a GitHub action, since one of the proposed mitigations from that blog is already available as a prebuilt action.

Update: changed the summary line from "Python codecov package is gone, breaks appveyor-coverage build" - the specific issue of appveyor broken is resolved, and we subsequently lost appveyor entirely, but still want to track that we now don't have any automated code coverage reporting, whether at the level of the whole codebase, or at the level of an individual PR.

@mwichmann mwichmann added the CI / buildbot Continuous Integration setups label Apr 14, 2023
@mwichmann
Copy link
Collaborator Author

Updating - the one AppVeyor job that did codecov now no longer does; we have no replacement yet. Supposedly we can use this:

https://github.com/codecov/codecov-action

@mwichmann
Copy link
Collaborator Author

So what to do with this issue? Not only don't we have a coverage runner enabled any longer, we lost AppVeyor also. Do we want to keep this open and track the possibility of setting up some kind of code coverage again someday, or just close as not particularly relevant.

@bdbaddog
Copy link
Contributor

bdbaddog commented Jun 13, 2024 via email

@mwichmann mwichmann changed the title Python codecov package is gone, breaks appveyor-coverage build Add code coverage back in to SCons CI Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI / buildbot Continuous Integration setups
Projects
None yet
Development

No branches or pull requests

2 participants