Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run example notebooks CI #791

Merged
merged 24 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,23 @@ jobs:
name: "test_slow"
fail_ci_if_error: false

example_notebooks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
sudo apt-get install graphviz
pip install -e .[docs]
pip install -e .[test]
- name: Run notebooks
run: make run_notebooks


all:
if: ${{ always() }}
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: init lint check_lint test html cleandocs
.PHONY: init lint check_lint test html cleandocs run_notebooks

init:
python3 -m pip install -e .
Expand All @@ -23,3 +23,6 @@ html:

cleandocs:
rm -r "docs/build" "docs/jupyter_execute" "docs/source/api/generated"

run_notebooks:
python scripts/run_notebooks/runner.py
Loading
Loading