Skip to content

Commit de3924e

Browse files
committed
🚧 uv pip, maybe?
1 parent 7d2e59b commit de3924e

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
@@ -80,16 +80,18 @@ jobs:
8080
with:
8181
python-version: "3.11"
8282
enable-cache: false
83+
activate-environment: true
8384

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

8993
- name: mypy
90-
run: >
91-
uv run --group=mypy --with="numpy==${{ matrix.numpy-version }}"
92-
mypy --tb tests/integration/test_numpy.pyi
94+
run: uv run --no-sync mypy --tb tests/integration/test_numpy.pyi
9395

9496
# TODO: (based)pyright
9597

0 commit comments

Comments
 (0)