Skip to content

refactor: Add comprehensive type hints to backend modules #326

refactor: Add comprehensive type hints to backend modules

refactor: Add comprehensive type hints to backend modules #326

name: CI for Jupyter Notebooks
on:
push:
branches: [main]
paths:
- "**.py"
- "**.ipynb"
- "pyproject.toml"
- ".github/workflows/notebook-testing.yml"
pull_request:
branches: [main]
paths:
- "**.py"
- "**.ipynb"
- "pyproject.toml"
- ".github/workflows/notebook-testing.yml"
jobs:
test-notebooks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install nbconvert nbclient ipykernel
pip install -e .
- name: Run Jupyter Notebooks
run: |
for notebook in $(find . -name '*.ipynb'); do
echo "Executing $notebook"
jupyter nbconvert --to notebook --execute --inplace $notebook
done