File tree Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Original file line number Diff line number Diff line change 1+ name : MOxUnit
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches : ' master'
9+
10+ env :
11+ OCTFLAGS : --no-gui --no-window-system --silent
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ steps :
17+
18+ - uses : actions/checkout@v2
19+ with :
20+ submodules : true
21+ fetch-depth : 1
22+
23+ - name : Make jsonread for octave and update path
24+ run : |
25+ sudo apt-get -y -qq update
26+ sudo apt-get -y install octave
27+ sudo apt-get -y install liboctave-dev
28+ cd lib/JSONio
29+ mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS
30+ cd ..
31+ octave $OCTFLAGS --eval "addpath (pwd); savepath ();"
32+ octave $OCTFLAGS --eval "addpath(genpath(fullfile(pwd, 'src'))); savepath ();"
33+
34+ - name : Install BIDS validator
35+ run : |
36+ sudo npm install -g [email protected] 37+
38+ - name : Create dummy dataset and validate it
39+ run : |
40+ cd tests/manualTests
41+ octave $OCTFLAGS --eval "test_makeRawDataset" && bids-validator `pwd`/output/raw/ --ignoreNiftiHeaders
42+
43+
44+
45+
46+
Original file line number Diff line number Diff line change 2525 sudo apt-get -y install liboctave-dev
2626 cd lib/JSONio
2727 mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS
28- # cd ../..
2928
3029 - name : MOxUnit Action
3130 uses : joergbrech/moxunit-action@master
You can’t perform that action at this time.
0 commit comments