Skip to content

Commit

Permalink
Add test on notebooks using nbmake
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Oct 9, 2024
1 parent 14ea2ec commit f63abd5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .github/workflows/non-omv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

name: Testing non OMV scripts

on:
push:
branches: [ main, development, experimental ]
pull_request:
branches: [ main, development, experimental ]

jobs:
build:

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: Test notebooks
run: |
pip install -r requirements.txt
pip install nbmake
pytest --nbmake CellNetworkBuilder.ipynb
pytest --nbmake Replay.ipynb
- name: Final version info
run: |
pip list
env
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ TestNet.net.png
*_code.gen.so
*_eden.py
*.mod

/BallAndStick.cell.svg

0 comments on commit f63abd5

Please sign in to comment.