Skip to content

fix: test

fix: test #18

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch full git history for setuptools_scm
run: git fetch --unshallow || true
- 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 .[dev]
- name: Run tests
run: pytest
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch full git history for setuptools_scm
run: git fetch --unshallow || true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install docs dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install -r docs/requirements.txt
- name: Build docs
run: sphinx-build -b html docs docs/_build/html