Skip to content

Commit 030a54e

Browse files
committed
Run Jupyter notebooks in CI
1 parent b20fa8e commit 030a54e

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/unit_test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ jobs:
2929
run: make test
3030
- name: Type-check with mypy
3131
run: make typecheck
32+
- name: Run Jupyter notebooks
33+
run: make run-notebooks

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ install.doc: check.lock
2626

2727
.PHONY: notebooks
2828
notebooks: install
29-
@$(POETRY) run jupyter lab notebooks/
29+
@$(POETRY) run jupyter lab ./notebooks/
3030

3131
.PHONY: typecheck
3232
typecheck: install
33-
@$(POETRY) run mypy --strict
33+
@$(POETRY) run mypy --strict
34+
35+
.PHONY: run-notebooks
36+
run-notebooks: install
37+
@$(POETRY) run jupyter-execute ./notebooks/*.ipynb

0 commit comments

Comments
 (0)