Skip to content

Use py 3.12

Use py 3.12 #41

Workflow file for this run

name: Test build pull requests
on:
pull_request:
branches: [ main, development ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-book.txt
- name: Disable building jupyter-books
run: |
sed -i "s/execute_notebooks.*/execute_notebooks: 'off'/" source/_config.yml
- name: Run jupyter-book
run: |
jupyter-book clean ./source
jupyter-book build ./source