DEP: add missing dependency lower bounds and test them #976
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
paths-ignore: | |
- doc/** | |
- README.md | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
python-version: | |
- '3.10' | |
- '3.13' | |
include: | |
- os: ubuntu-22.04 | |
python-version: 3.10.0 | |
sync-args: --resolution=lowest-direct | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup uv | |
uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355 # v5.2.2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build | |
run: uv sync --no-editable --group test ${{ matrix.sync-args }} | |
- name: Run tests | |
run: uv run --no-sync pytest --color=yes | |
type-check: | |
runs-on: ubuntu-latest | |
name: type check | |
concurrency: | |
group: ${{ github.ref }}-dev | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Setup uv | |
uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355 # v5.2.2 | |
with: | |
# Match minimal supported Python version | |
# to make sure we're not using unparseable syntax | |
python-version: '3.10' | |
- name: Run mypy | |
run: uv run --group typecheck mypy src |