Skip to content

chore: bump version to 0.4.29 — stable release #4

chore: bump version to 0.4.29 — stable release

chore: bump version to 0.4.29 — stable release #4

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e ".[dev]"
- name: Lint with flake8
run: |
flake8 canopy/ --max-line-length=120 --extend-ignore=E203,W503
- name: Run tests
run: |
pytest tests/ -v --cov=canopy --cov-report=term-missing
type-check:
name: Type check (mypy)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install mypy
- name: Run mypy
run: |
mypy canopy/ --ignore-missing-imports