Skip to content

fix CI problems incl. arm64-related ones (--break-system-packages option for pip; codecov secret; Python 3.12 compatible CI reqs) #582

fix CI problems incl. arm64-related ones (--break-system-packages option for pip; codecov secret; Python 3.12 compatible CI reqs)

fix CI problems incl. arm64-related ones (--break-system-packages option for pip; codecov secret; Python 3.12 compatible CI reqs) #582

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('README.md'); f=open('readme.m', 'w'); f.writelines(block.code for block in code if block.syntax=='Matlab'); f.close()"
- uses: matlab-actions/setup-matlab@v0
with:
release: R2021a
- uses: matlab-actions/run-command@v0
with:
command: readme