Skip to content

Add GitHub native code coverage reporting to CI - #2037

Draft
remyleone with code-coverage-agent[bot] wants to merge 4 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 4 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 coverage in commit 12204e5 in the code-coverage-agent/... branch is 47%. Coverage data for the main branch is not yet available.

Show a code coverage summary of the most covered files.
File main code-coverage-agent/... 12204e5 +/-
/home/runner/wo...dge/__init__.py 100%
scaleway_async/.../v1/__init__.py 100%
scaleway_async/...est/v1/types.py 97%
/home/runner/wo.../serviceinfo.py 79%
/home/runner/wo...e/timeseries.py 74%
/home/runner/wo...file/profile.py 45%
/home/runner/wo...utils/waiter.py 40%
scaleway_async/test/v1/api.py 33%
/home/runner/wo...way_core/api.py 27%
tests/test_test_v1.py 25%

Updated August 10, 2026 10:05 UTC

@estellesoulard
estellesoulard marked this pull request as draft August 10, 2026 13:06
runs-on: ubuntu-latest
permissions:
contents: read
code-quality: write

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verify why ci still passes despite this failing

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.

3 participants