File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,21 @@ jobs:
3434
3535 - name : Run migrated reviewer bot tests with targeted coverage
3636 run : >-
37+ mkdir -p artifacts/coverage &&
38+ COVERAGE_FILE=artifacts/coverage/.coverage
3739 uv run pytest tests --import-mode=importlib
3840 --cov=scripts.reviewer_bot
3941 --cov=scripts.reviewer_bot_lib
4042 --cov-branch
4143 --cov-report=term-missing
42- --cov-report=json:coverage- reviewer-bot.json
44+ --cov-report=json:artifacts/ coverage/ reviewer-bot.json
4345
4446 - name : Enforce reviewer bot statement and branch floors
4547 run : |
4648 uv run python - <<'PY'
4749 import json
4850
49- with open("coverage- reviewer-bot.json", encoding="utf-8") as handle:
51+ with open("artifacts/ coverage/ reviewer-bot.json", encoding="utf-8") as handle:
5052 totals = json.load(handle)["totals"]
5153
5254 statements = totals["percent_statements_covered"]
Original file line number Diff line number Diff line change 33* .egg-info /
44.cache /
55.venv /
6+ .coverage
7+ coverage * .json
8+ coverage.xml
9+ htmlcov /
10+ artifacts /coverage /
You can’t perform that action at this time.
0 commit comments