Misc #438
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: tests_examples | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: ['*'] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install MATLAB | |
uses: matlab-actions/[email protected] | |
with: | |
release: R2023a | |
- name: Clone bids-matlab | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 1 | |
- name: Install bids example | |
run: | | |
cd demos/notebooks | |
make install | |
- name: Run commands | |
uses: matlab-actions/[email protected] | |
with: | |
command: cd('demos/notebooks'); success = test_notebooks(); assert(success); |