Skip to content

Conversation

@mattdawkins
Copy link
Member

Summary

Two fixes in the testing workflow:

  • Remove bare pre-commit call (line 42) — Running pre-commit without a subcommand just prints help text and exits 0. Only pre-commit run --all-files is needed.
  • Fix Codecov upload path — Changed ./coverage/coverage.xml to ./coverage.xml. pytest-cov with --cov-report=xml writes to the working directory by default, not a coverage/ subdirectory. Coverage was never actually being uploaded.

Test plan

  • Verify pre-commit step runs without the redundant invocation
  • Verify Codecov receives coverage data after a successful test run

🤖 Generated with Claude Code

Two fixes in the testing workflow:

1. Remove bare `pre-commit` call (no subcommand) which just prints
   help text and wastes CI time. Only `pre-commit run --all-files`
   is needed.

2. Fix Codecov upload path from `./coverage/coverage.xml` to
   `./coverage.xml`. pytest-cov with `--cov-report=xml` writes
   coverage.xml to the working directory by default, not a
   coverage/ subdirectory.

Co-Authored-By: Claude Opus 4.5 <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.

1 participant