Skip to content

Commit 75bea8e

Browse files
CI Jobs uv sync instead of uv pip install
1 parent e9eeacd commit 75bea8e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
- name: Install the package and test dependencies
2525
run: |
2626
uv venv
27-
uv pip install --upgrade pip
28-
uv pip install -e '.[dev,test,cli]'
27+
uv sync --frozen --extra dev --extra test --extra cli
2928
3029
# Consider using pre-commit.ci for open source project
3130
- name: Run pre-commit
@@ -52,7 +51,6 @@ jobs:
5251
- name: Install the package and test dependencies
5352
run: |
5453
uv venv
55-
uv pip install --upgrade pip
56-
uv pip install -e '.[test]'
54+
uv sync --frozen --extra test --extra cli
5755
- name: Run tests
5856
run: uv run --no-project pytest -nauto

0 commit comments

Comments
 (0)