Skip to content

Add a simple precomit config file #9

Add a simple precomit config file

Add a simple precomit config file #9

Workflow file for this run

name: Run examples
on:
push:
branches: ["main"]
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: py39
python-version: "3.9"
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Install package
run: pip install -e .
- name: Run tests
run: pytest --nbmake examples --nbmake-kernel=python --nbmake-timeout=240 --durations=0