0.12.2 #922
Workflow file for this run
This file contains 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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.11, 3.12, 3.13] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install uv | |
uv sync | |
pip install -e . | |
- name: Lint with ruff | |
run: | | |
uv run ruff check phial/ tests/ examples/ | |
- name: Lint with mypy | |
run: | | |
uv run mypy phial tests stubs examples | |
- name: Test with pytest | |
run: | | |
uv run pytest tests -v | |
- name: Build docs | |
run: | | |
uv run python -msphinx -M html "docs/" "build/" |