Skip to content

Commit 222e67b

Browse files
KYBvWHxWtbag999claude
authored
feat(ci): add 20% coverage threshold and terminal coverage report (#18)
Baseline coverage is 30%. Set threshold at 20% with buffer. Add --cov-report=term for visible coverage in CI logs. Closes #17 Co-authored-by: gss <tbag9199@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dfaad39 commit 222e67b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- run: pip install -e ".[dev]" pytest-cov
5050
env:
5151
PIP_INDEX_URL: https://pypi.org/simple
52-
- run: pytest -v --tb=short --cov=narrator_ai --cov-report=xml
52+
- run: pytest -v --tb=short --cov=narrator_ai --cov-report=term --cov-report=xml --cov-fail-under=20
5353

5454
security:
5555
name: Security Scan

0 commit comments

Comments
 (0)