Skip to content

Commit

Permalink
πŸ’š fix typetest-oldest-supported-numpy CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Dec 9, 2024
1 parent 073d9ac commit 0f57952
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,31 @@ jobs:
- name: setup uv
uses: astral-sh/setup-uv@v4

- name: install
run: |
uv sync --frozen --python=$(uv run --frozen scripts/version_bounds.py python)
uv pip install --upgrade numpy==$(uv run --frozen scripts/version_bounds.py numpy)
- name: basedpyright
run: >
uv run
--python $(uv run --frozen scripts/version_bounds.py python)
--with numpy==$(uv run --frozen scripts/version_bounds.py numpy)
basedpyright
- name: typetest
run: uv run poe typetest
- name: basedmypy
run: >
uv run
--no-editable
--isolated
--python $(uv run --frozen scripts/version_bounds.py python)
--with numpy==$(uv run --frozen scripts/version_bounds.py numpy)
mypy --config-file=pyproject.toml .
- name: stubtest
run: uv run poe stubtest
run: >
uv run
--no-editable
--isolated
--python $(uv run --frozen scripts/version_bounds.py python)
--with numpy==$(uv run --frozen scripts/version_bounds.py numpy)
stubtest
--mypy-config-file pyproject.toml
--allowlist .mypyignore
--ignore-unused-allowlist
scipy

0 comments on commit 0f57952

Please sign in to comment.