Skip to content

minor fixes

minor fixes #28

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
- name: 🐍 Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: 📦 Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
pip install nbconvert nbformat ipykernel
- name: ✅ Check import
run: |
python -c "import lattice_methods"
python -c "import tests"
- name: Execute all notebooks
run: |
pip install pytest nbval
pytest --nbval-lax notebooks/