Skip to content

Add actions for notebook clearing, building docs, and running unit tests #1

Add actions for notebook clearing, building docs, and running unit tests

Add actions for notebook clearing, building docs, and running unit tests #1

Workflow file for this run

name: Run unit tests
on:
push:
branches: [ main ]
paths:
- "**/*.py"
- ".github/workflows/unit-tests.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
nbconvert:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
- name: Install uv
run: python -m pip install -U uv
- name: uv sync
run: uv sync
- name: pytest
run: uv run pytest