Add CI workflow

This commit is contained in:
Jerry Pussinen
2023-04-19 10:33:55 +03:00
parent 45d6173f14
commit 33150e098d

23
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: CI
on:
pull_request:
push:
branches:
- "**"
jobs:
checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11" ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install -r dev-requirements.txt
- run: pre-commit run -a
- run: pytest --nbval notebooks