Skip to content

new example: buoyant-bubble with a Boussinesq system (velocity extrapolation in time + pressure solver) (AGH eng. project by Michał Kowalczyk @Caastlefox) #1012

new example: buoyant-bubble with a Boussinesq system (velocity extrapolation in time + pressure solver) (AGH eng. project by Michał Kowalczyk @Caastlefox)

new example: buoyant-bubble with a Boussinesq system (velocity extrapolation in time + pressure solver) (AGH eng. project by Michał Kowalczyk @Caastlefox) #1012

Workflow file for this run

name: readme_matlab
defaults:
run:
shell: bash
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 13 * * 4'
jobs:
matlab:
strategy:
matrix:
# https://www.mathworks.com/support/requirements/python-compatibility.html
include:
- matlab-version: "R2021b"
python-version: "3.9"
- matlab-version: "R2024b"
python-version: "3.12"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.3.0
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e .
- run: pip install pytest-codeblocks pytest
- run: python -c "import pytest_codeblocks; code=pytest_codeblocks.extract_from_file('docs/markdown/pympdata_landing.md'); f=open('readme.m', 'w'); f.writelines(block.code for block in code if block.syntax=='Matlab'); f.close()"
- run: cat readme.m
- uses: matlab-actions/setup-matlab@v2.3.0
with:
release: ${{ matrix.matlab-version }}
- uses: matlab-actions/run-command@v2.1.1
with:
command: pe=pyenv; assert(pe.Version == "${{ matrix.python-version }}");
- uses: matlab-actions/run-command@v2.1.1
with:
command: readme