Adding support for Sundials 7 #1161
Workflow file for this run
This file contains 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: Docs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
name: docs | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
cache-dependency-path: setup.py | |
- name: Install dependencies | |
run: | | |
sudo .github/workflows/install-ubuntu-dependencies.sh | |
- name: Install Myokit | |
run: | | |
python --version | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install .[docs,optional,gui] | |
- name: Show Myokit info | |
run: | | |
python -m myokit system | |
- name: Run doctests | |
run: | | |
python -m myokit test doc | |