Skip to content

Commit 1820777

Browse files
Update GitHub Actions to use uv sync --all-packages --all-groups
Replace explicit group installation commands with the simpler: uv sync --all-packages --all-groups This installs all workspace packages with all their dependency groups, which is cleaner than manually specifying --group test --group docs and avoids needing to list extras like --extra rich. Updated workflows: - python-tests.yml: Changed uv sync command - api-check.yml: Changed uv sync command
1 parent 77d98c3 commit 1820777

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/api-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
4141
4242
- name: Install dependencies
43-
run: uv sync --group test
43+
run: uv sync --all-packages --all-groups
4444

4545
- name: Check API stability against latest release
4646
run: |

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
echo "C:\Program Files\Mercurial\" >> $env:GITHUB_PATH
109109
git config --system gpg.program "C:\Program Files (x86)\gnupg\bin\gpg.exe"
110110
if: runner.os == 'Windows'
111-
- run: uv sync --group test --group docs --extra rich
111+
- run: uv sync --all-packages --all-groups
112112
- name: Download vcs-versioning packages
113113
uses: actions/download-artifact@v4
114114
with:

0 commit comments

Comments
 (0)