Skip to content

Commit fc30c86

Browse files
lukeshinglesclaude
andcommitted
Stop uv run undoing the coverage-only install
uv run syncs the project environment first, so the 75 packages that --only-group coverage had just skipped came straight back in the next step: "Installed 1 package" followed by "Installed 75 packages". --no-sync keeps the environment the previous step built. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 0af1a48 commit fc30c86

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,12 @@ jobs:
127127
pattern: coverage-data-*
128128
merge-multiple: true
129129

130+
# --no-sync or uv run reinstalls the default groups it was just told to skip
130131
- name: Combine coverage and report
131132
run: |
132-
uv run coverage combine
133-
uv run coverage xml
134-
uv run coverage report
133+
uv run --no-sync coverage combine
134+
uv run --no-sync coverage xml
135+
uv run --no-sync coverage report
135136
136137
- name: Check for a pull request associated with this commit
137138
id: haspr

0 commit comments

Comments
 (0)