mirror of
https://github.com/andrewyng/openworker.git
synced 2026-11-04 13:27:11 +00:00
The test suite is broad (79 files) but has no coverage measurement or threshold, so regressions in under-tested paths go unnoticed. Add pytest-cov to dev dependencies, configure coverage in pyproject.toml (branch coverage, source=coworker, show_missing), and update CI to run pytest with --cov and upload the coverage.xml artifact. The fail_under floor is set to 0 initially so CI passes without changes to existing coverage. Once a baseline is established, the floor can be ratcheted up over time. Fixes #288