Skip to content

Commit 8f6b81f

Browse files
committed
Add CLI-specific coverage tracking to CI pipeline
1 parent 14fa4a0 commit 8f6b81f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci-improved.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ jobs:
111111
run: |
112112
pytest tests/ -v --tb=short --cov=terradev_cli --cov-report=xml --cov-report=html --cov-fail-under=${{ env.COVERAGE_THRESHOLD }} --ignore=tests/test_mcp_handlers.py -n auto || true
113113
114+
- name: CLI-specific coverage report
115+
run: |
116+
echo "=== CLI Module Coverage ==="
117+
pytest tests/ -v --tb=short --cov=terradev_cli.cli --cov-report=term-missing --ignore=tests/test_mcp_handlers.py -n auto || true
118+
echo "=========================="
119+
114120
- name: Upload coverage to Codecov
115121
uses: codecov/codecov-action@v4
116122
with:

0 commit comments

Comments
 (0)