Skip to content

Adding codecov - #8

Merged
serroba merged 1 commit into
mainfrom
dev
Jan 2, 2026
Merged

Adding codecov#8
serroba merged 1 commit into
mainfrom
dev

Conversation

@serroba

@serroba serroba commented Jan 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 2, 2026 06:20
@serroba
serroba merged commit eb5b0c7 into main Jan 2, 2026
5 checks passed
@serroba
serroba deleted the dev branch January 2, 2026 06:20
@codecov

codecov Bot commented Jan 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.42%. Comparing base (5394383) to head (1910d75).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #8       +/-   ##
===========================================
+ Coverage   80.26%   92.42%   +12.16%     
===========================================
  Files           7        6        -1     
  Lines         228      198       -30     
===========================================
  Hits          183      183               
+ Misses         45       15       -30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a Codecov configuration file to integrate code coverage reporting into the repository's CI/CD pipeline. The configuration aligns with the existing 95% coverage threshold already enforced by go-test-coverage.

Key Changes

  • Adds codecov.yml with 95% coverage target matching the existing .testcoverage.yml threshold
  • Configures cmd directory exclusion from coverage tracking

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread codecov.yml
target: 95%

ignore:
- "cmd/**/*"

Copilot AI Jan 2, 2026

Copy link

Choose a reason for hiding this comment

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

The ignore pattern "cmd/**/*" excludes the entire cmd directory from coverage, but the existing .testcoverage.yml file only excludes "cmd/server/main.go". This creates an inconsistency between local coverage checks and Codecov reporting. Consider aligning the patterns by changing this to only exclude the main.go file, or update .testcoverage.yml to match this broader exclusion.

Suggested change
- "cmd/**/*"
- "cmd/server/main.go"

Copilot uses AI. Check for mistakes.
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.

2 participants