Skip to content

Commit b4cbac1

Browse files
Miyamura80claude
andcommitted
⚙️ Add coverage reporting to CI test workflow
Add --cov flags to pytest to report code coverage for src/, common/, and utils/ directories during CI runs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4b1d293 commit b4cbac1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/a_test_target_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ jobs:
5656
echo "GROQ_API_KEY=${{ secrets.GROQ_API_KEY }}" >> $GITHUB_ENV
5757
echo "PERPLEXITY_API_KEY=${{ secrets.PERPLEXITY_API_KEY }}" >> $GITHUB_ENV
5858
echo "GEMINI_API_KEY=${{ secrets.GEMINI_API_KEY }}" >> $GITHUB_ENV
59-
- name: Run fast tests
59+
- name: Run fast tests with coverage
6060
run: |
61-
uv run pytest -n auto --durations=10 -m "not slow and not nondeterministic" tests/
61+
uv run pytest -n auto --durations=10 --cov=src --cov=common --cov=utils --cov-report=term-missing -m "not slow and not nondeterministic" tests/
6262
- name: Run flaky test detection
6363
run: |
6464
make test_flaky

0 commit comments

Comments
 (0)