Skip to content

feat: add Codecov integration for test coverage reporting#8

Open
4444J99 wants to merge 1 commit intoipqwery:mainfrom
4444J99:feat/codecov-integration
Open

feat: add Codecov integration for test coverage reporting#8
4444J99 wants to merge 1 commit intoipqwery:mainfrom
4444J99:feat/codecov-integration

Conversation

@4444J99
Copy link
Copy Markdown

@4444J99 4444J99 commented Mar 22, 2026

Summary

  • Adds pytest-cov to CI workflow for coverage generation
  • Uploads coverage reports to Codecov via codecov/codecov-action@v4
  • Adds codecov.yml config with 80% patch target and auto project target (5% threshold)
  • Coverage XML output for Codecov consumption

Resolves

Closes #1

Setup Required

After merging, the repo owner needs to:

  1. Sign up at codecov.io and add the repository
  2. Add CODECOV_TOKEN as a repository secret in Settings → Secrets

Test Plan

  • CI workflow runs pytest with --cov=ipapi --cov-report=xml
  • Coverage report uploads to Codecov
  • PR comments show coverage diff

Add pytest-cov to CI workflow and upload coverage reports to Codecov.
Includes codecov.yml config with 80% patch target and auto project
target with 5% threshold.

Resolves ipqwery#1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Codecov integration

1 participant