corrlib/.github/workflows/mypy.yaml
Justus Kuhlmann 540160c51f
Some checks failed
Pytest / pytest (3.12) (push) Failing after 21s
Mypy / mypy (push) Failing after 43s
Pytest / pytest (3.14) (push) Failing after 2s
Ruff / ruff (push) Failing after 2s
Pytest / pytest (3.13) (push) Failing after 19s
use older setup-uv action
2026-02-24 09:14:12 +01:00

30 lines
754 B
YAML

name: Mypy
on:
push:
pull_request:
workflow_dispatch:
jobs:
mypy:
runs-on: ubuntu-latest
env:
UV_CACHE_DIR: /tmp/.uv-cache
steps:
- name: Install git-annex
run: |
sudo apt-get update
sudo apt-get install -y git-annex
- name: Check out the repository
uses: https://github.com/RouxAntoine/checkout@v4.1.8
with:
show-progress: true
- name: Install uv
uses: https://github.com/astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install corrlib
run: uv sync --locked --all-extras --dev --python "3.12"
- name: Run tests
run: uv run mypy corrlib