Skip to content

update requirements #40

update requirements

update requirements #40

name: Notebook Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
- name: Test notebooks with pytest and nbmake
run: |
pwd
lscpu
export PYTHONPATH=$(pwd)
pytest -v --nbmake "./notebooks" --nbmake-timeout=1000