Make it green.
covered
CLI for uploading HTML coverage reports to a self-hosted covered backend, then setting a GitHub commit status with the coverage value.
Install
pip install covered
Requires Python 3.10+.
Usage
Upload an HTML coverage report directory:
covered ./htmlcov \
--api-url https://covered.example.com \
--api-key "$COVERED_API_KEY" \
--repo-owner my-org \
--repo-name my-repo \
--commit-sha "$GITHUB_SHA" \
--gh-token "$GITHUB_TOKEN" \
--coverage-threshold 90 \
--purge-cache
Every option also reads from a matching environment variable (COVERED_API_URL, COVERED_API_KEY, COVERED_REPO_OWNER, COVERED_REPO_NAME, COVERED_COMMIT_SHA, COVERED_GH_TOKEN, COVERED_COVERAGE_THRESHOLD, COVERED_PURGE_CACHE), which is the typical way to use it from CI.
covered --help lists all options.
What it does
- Requests a temporary upload session from the covered backend.
- Uploads every file in the given directory to S3 in parallel (default concurrency: 50).
- Reads the coverage percentage from
index.htmlin the report. - Posts a
coveredcommit status to GitHub (successif>= --coverage-threshold, otherwisefailure). - On the default branch, invalidates the badge cache and purges GitHub's Camo cache for the README badge.
License
MIT. See the project repository for the full license text.
Metadata
Release files for covered 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| covered-0.1.1.tar.gz | 5.2 kB | Without provenance | Details for covered-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| covered-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for covered-0.1.1-py3-none-any.whl |
Total release size: 11.7 kB
Release files / covered-0.1.1.tar.gz
| Download URL | covered-0.1.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df068e542b7631620df311f5b5f2a61807e54680cb75bd1b8db0811f03d77bfa
|
|
BLAKE2b-256 checksum How to use checksums |
328515812f15ce8e188eb6f70af8101b2c5ee2b192cd3df7ce2c3a750ea3471e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / covered-0.1.1-py3-none-any.whl
| Download URL | covered-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f2439c0d990aabe2c6de17e28aa6192b792c35bf41989c10a77414454221c5c
|
|
BLAKE2b-256 checksum How to use checksums |
81fab660533e2d74b54ae942b9675b7a04b95876da900d2a1342f381361fd610
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for covered 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.