25 lines
545 B
YAML
25 lines
545 B
YAML
name: quality
|
|
|
|
on:
|
|
push:
|
|
branches: ["main", "otto/**", "feature/**"]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.11", "3.13"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: pip
|
|
- run: python -m pip install --upgrade pip
|
|
- run: python -m pip install -e ".[dev]"
|
|
- run: python -m pytest
|
|
- run: ruff check .
|
|
- run: mypy
|