Skip to content

Commit 2601a89

Browse files
committed
👷 ckean up the CI workflow
1 parent 2c1d2a9 commit 2601a89

File tree

1 file changed

+10
-28
lines changed

1 file changed

+10
-28
lines changed

‎.github/workflows/ci.yml

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,8 @@ jobs:
4949
- name: pyright
5050
uses: jakebailey/[email protected]
5151

52-
# generate-matrix:
53-
# name: Generate Test Matrix
54-
# runs-on: ubuntu-latest
55-
# timeout-minutes: 1
56-
57-
# outputs:
58-
# matrix: ${{ steps.set-matrix.outputs.matrix }}
59-
60-
# steps:
61-
# - uses: actions/[email protected]
62-
63-
# - name: Install uv
64-
# uses: astral-sh/[email protected]
65-
# with:
66-
# python-version: "3.13"
67-
68-
# - name: Generate Matrix
69-
# id: set-matrix
70-
# shell: bash
71-
# run: |
72-
# matrix=$(uv run scripts/generate_matrix.py | jq -c)
73-
# echo "matrix=$matrix" >> $GITHUB_OUTPUT
52+
# NOTE: mypy ignores `uv run --with=...` (and `--isolated` does not help), so we
53+
# manually (re)install the desired version directly in the environment.
7454

7555
typecheck:
7656
runs-on: ubuntu-latest
@@ -91,13 +71,14 @@ jobs:
9171
activate-environment: true
9272
python-version: ${{ matrix.py }}
9373

94-
# NOTE: mypy ignores `uv run --with=...` (and `--isolated` does not help), so we
95-
# manually (re)install the desired version directly in the environment.
9674
- name: sync env
9775
run: uv sync --no-editable
9876

9977
- name: install specific numpy version
100-
run: uv pip install --upgrade "numpy-typing-compat==${{ matrix.np }}.*"
78+
run: >
79+
uv pip install --upgrade
80+
"numpy==${{ matrix.np }}.*"
81+
"numpy-typing-compat==${{ matrix.np }}.*"
10182
10283
- name: basedpyright scipy-stubs
10384
run: basedpyright scipy-stubs
@@ -134,13 +115,14 @@ jobs:
134115
activate-environment: true
135116
python-version: ${{ matrix.py }}
136117

137-
# NOTE: mypy ignores `uv run --with=...` (and `--isolated` does not help), so we
138-
# manually (re)install the desired version directly in the environment.
139118
- name: sync env
140119
run: uv sync --no-editable
141120

142121
- name: install specific numpy version
143-
run: uv pip install --upgrade "numpy-typing-compat==${{ matrix.np }}.*"
122+
run: >
123+
uv pip install --upgrade
124+
"numpy==${{ matrix.np }}.*"
125+
"numpy-typing-compat==${{ matrix.np }}.*"
144126
145127
- name: basedpyright tests
146128
run: basedpyright tests

0 commit comments

Comments
 (0)