Skip to content

Commit

Permalink
Merge branch 'v3' into rebound-bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sblunt committed Jan 11, 2024
2 parents a86fa6d + 63e468a commit c12c991
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/run-notebooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test jupyter notebook tutorials

on:
push:
branches:
- main # only rerun tutorials when making PRs or changing main
- v3
pull_request:
branches:
- '*'

jobs:
build:

runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install jupyter setuptools wheel
python -m pip install -r requirements.txt
python -m pip install . --no-build-isolation
- name: Run tutorial notebooks
run: |
jupyter execute docs/tutorials/*.ipynb
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
# Disable notebook timeout
nbsphinx_timeout = -1

# Always re-run notebooks when building docss
nbsphinx_execute = "always"
# Only re-run notebooks that have no outputs
nbsphinx_execute = "auto"

# Allow notebook errors
nbsphinx_allow_errors = False
Expand Down

0 comments on commit c12c991

Please sign in to comment.