Skip to content

Bump actions/deploy-pages from 4 to 5 (#7) #26

Bump actions/deploy-pages from 4 to 5 (#7)

Bump actions/deploy-pages from 4 to 5 (#7) #26

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
quality:
name: Quality
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev,docs]"
- name: Run Ruff
run: python -m ruff check .
- name: Run Mypy
run: python -m mypy .
- name: Run tests
run: python -m pytest
- name: Build package
run: python -m build
- name: Build docs
run: python -m mkdocs build --strict
test-matrix:
name: Tests (${{ matrix.os }}, py${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Run tests
run: python -m pytest