Skip to content

Wire pytest coverage + Codecov upload into ci.yml - #2

Merged
lorenzoliuzzo merged 1 commit into
mainfrom
chore/wire-coverage-reporting
Jul 7, 2026
Merged

Wire pytest coverage + Codecov upload into ci.yml#2
lorenzoliuzzo merged 1 commit into
mainfrom
chore/wire-coverage-reporting

Conversation

@lorenzoliuzzo

@lorenzoliuzzo lorenzoliuzzo commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • CONVENTIONS.md (mythings-core) documents that every ci.yml runs pytest --cov=<pkg> --cov-report=xml and uploads via codecov/codecov-action@v4. This repo was scaffolded after my-template#3 landed that pattern, but from a stale local template checkout, so it never got wired in — it had no coverage reporting or badge at all, unlike its sibling tools.
  • Adds the coverage flag + Codecov upload step to ci.yml, and pytest-cov to the dev deps.

Test plan

  • CI passes on this PR (upload step soft-fails if CODECOV_TOKEN isn't set yet — safe either way)
  • If not already done, add this repo on codecov.io and run gh secret set CODECOV_TOKEN -R MyThingsLab/my-planner so the badge populates

🤖 Generated with Claude Code

This repo was scaffolded from a my-template checkout that predated
PR MyThingsLab/my-template#3, so it never picked up the coverage step
CONVENTIONS.md describes as standard. Brings it in line with the other
shipped tools.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@lorenzoliuzzo
lorenzoliuzzo merged commit c48f046 into main Jul 7, 2026
2 checks passed
@lorenzoliuzzo
lorenzoliuzzo deleted the chore/wire-coverage-reporting branch July 7, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant