Skip to content

Add codecov integration to CI#169

Open
Copilot wants to merge 3 commits intomainfrom
copilot/add-code-coverage-ci
Open

Add codecov integration to CI#169
Copilot wants to merge 3 commits intomainfrom
copilot/add-code-coverage-ci

Conversation

Copy link
Contributor

Copilot AI commented Jan 18, 2026

Adds code coverage reporting to the CI pipeline using Codecov, following the pattern from falkordb-py.

Changes

  • pyproject.toml: Added pytest-cov>=5.0.0,<6.0.0 to test dependencies
  • .gitignore: Excluded coverage artifacts (.coverage, coverage.xml, htmlcov/)
  • .github/workflows/test.yml:
    • Updated pytest command to --cov=graphrag_sdk --cov-report=xml
    • Added codecov upload step using codecov/codecov-action@v5

Configuration Required

Repository maintainers need to add CODECOV_TOKEN secret in GitHub settings and set up the repository on codecov.io.

The upload is configured with fail_ci_if_error: false to prevent CI failures from Codecov service issues.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add code coverage to the CI</issue_title>
<issue_description>Add codecov report to the CI see https://github.com/FalkorDB/falkordb-py as reference </issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@coderabbitai
Copy link

coderabbitai bot commented Jan 18, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: gkorland <753206+gkorland@users.noreply.github.com>
run: uv run pytest --cov --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium test

Unpinned 3rd party Action 'Run tests' step
Uses Step
uses 'codecov/codecov-action' with ref 'v5', not a pinned commit hash
Co-authored-by: gkorland <753206+gkorland@users.noreply.github.com>
Copilot AI changed the title [WIP] Add code coverage to the CI Add codecov integration to CI Jan 18, 2026
Copilot AI requested a review from gkorland January 18, 2026 15:38
@gkorland gkorland marked this pull request as ready for review January 18, 2026 16:11
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.

Add code coverage to the CI

2 participants