Skip to content

WIP add workflows

WIP add workflows #6

name: "Test notebooks"
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: 'Install dependencies'
run: |
python -m pip install -U -r requirements.txt
python -m pip install -U pytest
- name: 'Run tests'
run: python -m pytest tests