litestar-org / litestar-org/project-template

ci: add Codecov coverage reporting

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ci testing
Dominant language
Python
Stars
13
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## Context

`pytest-cov` is already a test dependency. We should publish coverage to Codecov. PR #16 added a `codecov.yml`.

## Proposed tasks

- [ ] Emit `coverage.xml` in the test workflow
- [ ] Add a `codecov/codecov-action` upload step
- [ ] Add `codecov.yml` (targets / thresholds)
- [ ] Add a coverage badge to `README.md`
- [ ] Confirm `CODECOV_TOKEN` availability for the org

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the test workflow and the existing pytest-cov dependency, then inspect the codecov.yml introduced by PR #16. Verify how coverage.xml is produced, how the Codecov action and README.md badge should fit, and whether CODECOV_TOKEN is available; done means all listed coverage-reporting tasks are confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.