Skip to content

[FIX] run test create roi octave #615

[FIX] run test create roi octave

[FIX] run test create roi octave #615

---
name: test notebooks
on:
pull_request:
branches:
- main
paths:
- '**.m'
- .github/workflows/*system*
- lib
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
system_tests_matlab:
# only trigger update on upstream repo
if: github.repository_owner == 'cpp-lln-lab'
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt-get -y -qq update
sudo apt-get -y install unzip wget tree
- name: Install MATLAB
uses: matlab-actions/[email protected]
with:
# MATLAB release to set up R2020a
release: R2023a
- name: Clone bidspm
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install SPM
run: |
git clone https://github.com/spm/spm12.git --depth 1
- name: Test notebooks
uses: matlab-actions/[email protected]
with:
command: |
root_dir = getenv('GITHUB_WORKSPACE');
addpath(fullfile(root_dir, 'spm12'));
cd(fullfile(root_dir, 'demos'));
run test_notebooks;