Skip to content

Update development environment #321

Update development environment

Update development environment #321

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
job:
name: Test (Python ${{ matrix.python }})
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: false
PYTHON_DIRS: docs xarray_dataclasses
strategy:
fail-fast: false
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.8.3"
- run: poetry install
- run: black --check ${PYTHON_DIRS}
- run: pyright ${PYTHON_DIRS}
- run: mypy ${PYTHON_DIRS}
- run: docs/build