(Translated by https://www.hiragana.jp/)
advection-diffusion example: added a brief introduction to the problem, populate notebook output (#462) · open-atmos/PyMPDATA@3bc92c9 · GitHub
Skip to content

readme_matlab

readme_matlab #805

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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.8
- 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@v0
with:
release: R2021a
- uses: matlab-actions/run-command@v0
with:
command: readme