Skip to content

Commit 8b00677

Browse files
committed
Explicit install
1 parent 0aa50db commit 8b00677

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/python-ci.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,18 @@ jobs:
3333
restore-keys: |
3434
${{ runner.os }}-uv-
3535
36-
- name: Create virtual environment and install project with dev dependencies
36+
- name: Install dependencies with uv
3737
run: |
38+
# Create the virtual environment
3839
uv venv
39-
uv pip install -e ".[dev]"
40+
41+
# Install the project with both primary and dev dependencies
42+
# Since uv doesn't natively support dependency groups through extras yet
43+
# we'll install them separately for proper resolution
44+
uv pip install -e .
45+
46+
# Extract and install dev dependencies
47+
uv pip install ruff==0.3.4 mypy>=1.13.0,<2 types-requests>=2.32.0,<3.0.0 types-beautifulsoup4>=4.12.0,<5.0.0 types-networkx>=3.4.2 pytest>=8.3.4,<9
4048
4149
- name: Debug environment
4250
run: |
@@ -88,10 +96,16 @@ jobs:
8896
restore-keys: |
8997
${{ runner.os }}-uv-
9098
91-
- name: Create virtual environment and install project with dev dependencies
99+
- name: Install dependencies with uv
92100
run: |
101+
# Create the virtual environment
93102
uv venv
94-
uv pip install -e ".[dev]"
103+
104+
# Install the project
105+
uv pip install -e .
106+
107+
# Install pytest
108+
uv pip install pytest>=8.3.4,<9
95109
96110
- name: Run tests
97111
run: |

0 commit comments

Comments
 (0)