Update OpenJij Quickstart to use OMMX Adapter #169
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Notebooks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
# JijModeling-transpiler requires python <3.12 | |
# - "3.12" | |
os: | |
- ubuntu-latest | |
- windows-latest | |
# Python-MIP does not support macOS natively | |
# See https://github.com/coin-or/python-mip/issues/167 | |
# This issue will be fixed in the next minor release | |
# https://github.com/coin-or/python-mip/releases/tag/1.16-pre | |
# - macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Set up Python | |
run: uv python install ${{ matrix.python-version }} | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: Run tests | |
run: | | |
uv run jupyter nbconvert --execute --to notebook --inplace docs/**/*.ipynb |