Skip to content

fix path to binder in requirements #88

fix path to binder in requirements

fix path to binder in requirements #88

name: Run Pytest on pushes to main branches or PRs to any branch
on:
pull_request:
branches:
- "*"
push:
branches:
- development
- staging
- live
jobs:
deploy:
runs-on: ubuntu-latest
# Runs tests on multiple python versions across the range we support
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml', 'requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[notebook] # ensure optional extras still work
pip install -r requirements.txt
- name: Run pytest
run: pytest -q