cleanup after v0.4.1 release #8
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: type checking | |
| on: | |
| pull_request: | |
| paths: | |
| - yt_xarray/**/*.py | |
| - pyproject.toml | |
| - requirements/typecheck.txt | |
| - .github/workflows/type-checking.yaml | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: type check | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| # run with oldest supported python version | |
| # so that we always get compatible versions of | |
| # core dependencies at type-check time | |
| python-version: '3.10' | |
| - name: Build | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install -r requirements/typecheck.txt | |
| - name: list installed deps | |
| run: python -m pip list | |
| - name: Run mypy | |
| run: mypy yt_xarray |