Skip to content

Remove Codecov, decrease CI web request load, and remove new-PR draft-notice CI job#316

Merged
bskinn merged 6 commits intomainfrom
disable-codecov
May 18, 2025
Merged

Remove Codecov, decrease CI web request load, and remove new-PR draft-notice CI job#316
bskinn merged 6 commits intomainfrom
disable-codecov

Conversation

@bskinn
Copy link
Copy Markdown
Owner

@bskinn bskinn commented May 18, 2025

The newest incarnation of Codecov is breaking builds, despite being configured per the instructions on the site.

As the project is small in SLOC and team, Codecov is overweight for what the project needs. Just run pytest --nonloc --cov to evaluate current coverage.

CI is set up so that 100% coverage is not a blocker to a regular PR to main. The job in release_test_file_coverage.yml will fail at release-prep time if coverage has dropped; I'll handle closing that gap, and not put it on contributors.


Also, having --testall --nonloc in the massive test matrix is exceeding some rate limits, retrieving the inventory files numerous times in parallel. So, we change the test matrix to only --testall, and add a separate, much-smaller-scale --nonloc job.


Also-also, the CI job meant to post a notice on new PRs about lighter CI requirements for draft PRs doesn't work on PRs originating from forks -- permission issues, likely. Disabling it for now.

@bskinn bskinn added this to the Next Upkeep milestone May 18, 2025
@bskinn bskinn added type: maintenance 🔧 Something administrative needs upkeep pr: needs changelog 📍 area: meta 🧠 Dealing with the project itself bump: upkeep 🐞 Changes outside the package itself (x.y.z.w) labels May 18, 2025
@github-actions
Copy link
Copy Markdown

Hello, and thank you for contributing!

This project is configured to run fewer workflows on draft PRs, so if you would like to receive pass/fail feedback from the test suite more quickly, please switch this PR to 'draft' status.

You can mark the PR as 'ready' whenever you like, to enable the more extensive set of checks.

@lang-ci
Copy link
Copy Markdown

lang-ci Bot commented May 18, 2025

I'll summarise github action errors for you when they occur.

@bskinn bskinn changed the title Remove Codecov from the project Remove Codecov and decrease CI web request load May 18, 2025
@bskinn bskinn changed the title Remove Codecov and decrease CI web request load Remove Codecov, decrease CI web request load, and remove new-PR draft-notice CI job May 18, 2025
bskinn added 3 commits May 18, 2025 16:42
Only works on PRs from this repo, not from forks. Kind of defeats the
point.  Probably a permissions issue.
@bskinn bskinn merged commit 3c1e126 into main May 18, 2025
22 checks passed
@bskinn bskinn deleted the disable-codecov branch May 18, 2025 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: meta 🧠 Dealing with the project itself bump: upkeep 🐞 Changes outside the package itself (x.y.z.w) pr: merge ready 👍 type: maintenance 🔧 Something administrative needs upkeep

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant