Skip to content

Created quarto documentation and website #23

Created quarto documentation and website

Created quarto documentation and website #23

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
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 -e ".[tests,docs]"
- name: Run unit tests
run: pytest tests/unit/
- name: Build documentation (PR only)
if: github.event_name == 'pull_request'
run: |
hatch run docs:build
- name: Show Sphinx error log (if any)
if: failure() || always()
run: |
echo "---- sphinx error logs ----"
ls -la /tmp | grep sphinx || true
cat /tmp/sphinx-err-* || true