Skip to content

Add code coverage reporting to CI with Codecov integration#71

Draft
gkorland with Copilot wants to merge 2 commits into
masterfrom
copilot/add-code-coverage-ci
Draft

Add code coverage reporting to CI with Codecov integration#71
gkorland with Copilot wants to merge 2 commits into
masterfrom
copilot/add-code-coverage-ci

Conversation

Copilot AI commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

Extends CI pipeline to generate coverage reports and publish to https://app.codecov.io/gh/falkordb/falkordb-go.

Changes

  • Modified test step to generate coverage with -coverprofile=coverage.txt -covermode=atomic
  • Added race detection with -race flag
  • Integrated codecov/codecov-action@v5 to upload coverage reports
  • Configured with fail_ci_if_error: false to prevent CI failures from Codecov unavailability

Setup Required

Repository maintainers need to configure CODECOV_TOKEN secret:

  1. Obtain upload token from https://app.codecov.io/gh/falkordb/falkordb-go
  2. Add as repository secret named CODECOV_TOKEN

The README already contains the Codecov badge which will activate once coverage uploads begin.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add code coverage</issue_title>
<issue_description>Extend the CI to generate code coverage and publish to codecov

Publish code coverage to https://app.codecov.io/gh/falkordb/falkordb-go</issue_description>

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


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@coderabbitai

coderabbitai Bot commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

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>
Comment thread .github/workflows/go.yml
run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...

- 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

Unpinned 3rd party Action 'Go' step
Uses Step
uses 'codecov/codecov-action' with ref 'v5', not a pinned commit hash
Copilot AI changed the title [WIP] Add code coverage generation and publishing to Codecov Add code coverage reporting to CI with Codecov integration Jan 16, 2026
Copilot AI requested a review from gkorland January 16, 2026 21:56
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

3 participants