Some checks failed
Pytest / pytest (3.13) (pull_request) Failing after 42s
Pytest / pytest (3.14) (pull_request) Failing after 41s
Ruff / ruff (pull_request) Successful in 1m2s
Mypy / mypy (pull_request) Successful in 1m12s
Mypy / mypy (push) Failing after 39s
Ruff / ruff (push) Failing after 40s
Pytest / pytest (3.12) (push) Failing after 39s
Pytest / pytest (3.13) (push) Failing after 39s
Pytest / pytest (3.14) (push) Failing after 43s
Pytest / pytest (3.12) (pull_request) Failing after 39s
29 lines
743 B
YAML
29 lines
743 B
YAML
name: Mypy
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
mypy:
|
|
runs-on: ubuntu-latest
|
|
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: Setup python
|
|
uses: https://github.com/actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
- name: Install uv
|
|
uses: https://github.com/astral-sh/setup-uv@v5
|
|
- name: Install corrlib
|
|
run: uv sync --locked --all-extras --dev --python "3.12"
|
|
- name: Run tests
|
|
run: uv run mypy corrlib
|