Skip to content

Fix coverage reporting to use correct package name#12

Merged
messa merged 4 commits intomainfrom
claude/fix-github-actions-tests-sZToM
Jan 26, 2026
Merged

Fix coverage reporting to use correct package name#12
messa merged 4 commits intomainfrom
claude/fix-github-actions-tests-sZToM

Conversation

@messa
Copy link
Copy Markdown
Owner

@messa messa commented Jan 26, 2026

Summary

Updated the pytest coverage configuration to report on the correct package name in the test workflow.

Changes

  • Changed coverage target from com to blockcopy in the GitHub Actions test workflow
  • This ensures that code coverage metrics are accurately collected and reported for the actual package being tested

Details

The coverage reporting was previously configured to measure coverage for a package named com, which appears to be incorrect. The actual package name is blockcopy, so updating this configuration will provide accurate coverage reports that reflect the true test coverage of the codebase.

Change --cov=com to --cov=blockcopy to match the actual module name.
This fixes the "Module com was never imported" warning and enables
proper coverage reporting.

https://claude.ai/code/session_01UvZ5rZoXjC5RDuz9Q3QSV6
Copilot AI review requested due to automatic review settings January 26, 2026 18:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions test workflow so pytest-cov reports coverage for the actual Python module/package name used by this repo.

Changes:

  • Adjusts the pytest coverage target to blockcopy (instead of com).
  • Renames the workflow from “Pytest” to “Test”.

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 26, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@messa messa merged commit f0e4d80 into main Jan 26, 2026
37 checks passed
@messa messa deleted the claude/fix-github-actions-tests-sZToM branch January 26, 2026 19:21
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