Skip to content

Commit ede325f

Browse files
committed
🚧 uv pip, maybe?
1 parent 93e273e commit ede325f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,18 @@ jobs:
7979
with:
8080
python-version: "3.11"
8181
enable-cache: false
82+
activate-environment: true
8283

8384
- name: (DEBUG) print numpy version # TODO
84-
run: >
85-
uv run --group=mypy --with="numpy==${{ matrix.numpy-version }}"
86-
python -c "import numpy; print(numpy.__version__)"
85+
run: |
86+
uv sync --no-editable --group=mypy
87+
uv pip install numpy==${{ matrix.numpy-version }}
88+
89+
- name: (DEBUG) print numpy version # TODO
90+
run: uv run --no-sync python -c "import numpy; print(numpy.__version__)"
8791

8892
- name: mypy
89-
run: >
90-
uv run --group=mypy --with="numpy==${{ matrix.numpy-version }}"
91-
mypy --tb tests/integration/test_numpy.pyi
93+
run: uv run --no-sync mypy --tb tests/integration/test_numpy.pyi
9294

9395
# TODO: (based)pyright
9496

0 commit comments

Comments
 (0)