Skip to content

Add GitHub native code coverage reporting to CI - #2037

Draft
remyleone with code-coverage-agent[bot] wants to merge 7 commits into
mainfrom
code-coverage-agent/setup-code-coverage-reporting
Draft

Add GitHub native code coverage reporting to CI#2037
remyleone with code-coverage-agent[bot] wants to merge 7 commits into
mainfrom
code-coverage-agent/setup-code-coverage-reporting

Conversation

@code-coverage-agent

@code-coverage-agent code-coverage-agent AI commented Aug 5, 2026

Copy link
Copy Markdown

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Replaces Codecov with GitHub's native coverage API across all three SDK libraries.

pytest-cov.yml

  • Added --cov-report=xml:coverage.xml to produce Cobertura XML via pytest-cov's native reporter (trustworthy, lossless)
  • Upload artifact step (Python 3.12 only per lib, skipped for fork PRs) to avoid 4× duplicate uploads per library
  • New upload-coverage-python matrix job (one per lib) using actions/upload-code-coverage@v1 with code-quality: write permission isolated to that job

.gitignore

  • Added coverage.xml, .coverage, htmlcov/

Release note for CHANGELOG:

NONE

Co-authored-by: remyleone <300834+remyleone@users.noreply.github.com>
@code-coverage-agent code-coverage-agent AI changed the title [WIP] Set up code coverage reporting and integrate into CI workflows Add GitHub native code coverage reporting to CI Aug 5, 2026
Code Coverage Agent finished work on behalf of remyleone August 5, 2026 16:29
@code-coverage-agent
code-coverage-agent AI marked this pull request as ready for review August 5, 2026 16:29
@github-code-quality

github-code-quality Bot commented Aug 7, 2026

Copy link
Copy Markdown

Code Coverage Overview

Languages: Python

Python / code-coverage-agent

The overall line coverage in commit 098d0d7 in the code-coverage-agent/... branch is 58%. Line coverage data for the main branch is not yet available.

Show a line coverage summary of the most covered files.
File main code-coverage-agent/... 098d0d7 +/-
scaleway/instan.../v1/__init__.py 100%
scaleway/instan...ypes_private.py 100%
scaleway/k8s/v1/types.py 99%
scaleway/vpc/v2/types.py 99%
scaleway/instance/v1/types.py 98%
scaleway/mongodb/v1/types.py 98%
scaleway/block/...alpha1/types.py 98%
scaleway/vpc/v2/marshalling.py 28%
scaleway/instan.../marshalling.py 24%
scaleway/k8s/v1/marshalling.py 23%

Updated August 24, 2026 10:02 UTC

@estellesoulard
estellesoulard marked this pull request as draft August 10, 2026 13:06
Comment thread .github/workflows/pytest-cov.yml Outdated
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.

4 participants