Skip to content

Commit

Permalink
ci: test notebooks in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BioGeek committed Mar 5, 2024
1 parent a4716c1 commit dc0ec5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pytest-multiversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ jobs:
run: |
pytest -v --alluredir=allure_results --cov-report=html --cov --cov-config=.coveragerc --random-order
coverage report -m
- name: Test notebooks
run: |
python -m ipykernel install --user --name instanovo
pytest --nbmake "./notebooks" --nbmake-kernel=instanovo
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# All of these dependencies are pinned to specific versions to achieve reproducible builds (CI/DEV)
allure-pytest==2.11.1
coverage==6.4.4
ipykernel==6.29.3
livereload==2.6.3
nbmake==1.5.2
pre-commit==2.20.0
pytest==7.1.3
pytest-cov==3.0.0
Expand Down

0 comments on commit dc0ec5b

Please sign in to comment.