You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add test coverage reporting with GitHub Pages badge (#62)
* chore: add coverage configuration to pyproject.toml
Configure pytest-cov with:
- Branch coverage enabled for stackone_ai source
- Exclusions for __init__.py and py.typed files
- Standard exclusion patterns (TYPE_CHECKING, NotImplementedError, etc.)
- JSON output to coverage/coverage.json for CI badge generation
- HTML output to coverage/html for detailed reports
* chore: add coverage command to justfile
Add `just coverage` command that runs pytest with:
- Terminal coverage report for quick feedback
- JSON report for CI badge generation
- HTML report for detailed analysis
* chore: ignore coverage output files
Add .coverage and coverage/ to .gitignore to prevent
committing locally generated coverage reports.
* ci: add coverage reporting with GitHub Pages deployment
Add coverage job that runs on main branch pushes:
- Run tests with pytest-cov to generate coverage reports
- Generate coverage badge using coverage-badges-cli
- Upload coverage artifacts to GitHub Pages
Add deploy-coverage job to publish reports to GitHub Pages,
making coverage badge and HTML report publicly accessible at
https://stackonehq.github.io/stackone-ai-python/
Matches the coverage setup in stackone-ai-node repository.
* docs: add coverage badge to README
Display test coverage percentage badge that links to
the detailed HTML coverage report on GitHub Pages.
[](https://github.com/StackOneHQ/stackone-ai-python/releases)
0 commit comments