11name : " tests with octave: failure expected"
22
3- # Uses the cron schedule for github actions
4- #
5- # https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#scheduled-events
6- #
7- # ┌───────────── minute (0 - 59)
8- # │ ┌───────────── hour (0 - 23)
9- # │ │ ┌───────────── day of the month (1 - 31)
10- # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
11- # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
12- # │ │ │ │ │
13- # │ │ │ │ │
14- # │ │ │ │ │
15- # * * * * *
16-
173on :
184 push :
195 branches :
228 pull_request :
239 branches : ['*']
2410
25- # Allows you to run this workflow manually from the Actions tab
26- workflow_dispatch :
27-
2811env :
2912 OCTFLAGS : --no-gui --no-window-system --silent
3013
4124 sudo apt-get -y install octave liboctave-dev
4225
4326 - name : Clone cpp_spm
44- uses : actions/checkout@v2
27+ uses : actions/checkout@v3
4528 with :
4629 submodules : true
4730 fetch-depth : 2
5235 make -C spm12/src PLATFORM=octave distclean
5336 make -C spm12/src PLATFORM=octave
5437 make -C spm12/src PLATFORM=octave install
55- octave $OCTFLAGS --eval "addpath(fullfile(pwd, 'spm12')); savepath();"
38+ octave $OCTFLAGS --eval "addpath(fullfile(pwd, 'spm12')); savepath(); exit; "
5639
5740 - name : Install Moxunit and MOcov
5841 run : |
@@ -63,12 +46,11 @@ jobs:
6346
6447 - name : Update octave path
6548 run : |
66- octave $OCTFLAGS --eval "initCppSpm; savepath(); exit;"
67- octave $OCTFLAGS --eval "addpath(fullfile(pwd, 'tests', 'utils')); savepath(); exit;"
49+ octave $OCTFLAGS --eval "initCppSpm(dev); savepath(); exit;"
6850
6951 - name : Prepare data
7052 run : |
71- octave $OCTFLAGS --eval "initCppSpm; cd demos/MoAE; download_moae_ds(true); exit;"
53+ octave $OCTFLAGS --eval "cd demos/MoAE; download_moae_ds(true); exit;"
7254 cd tests
7355 make data
7456
0 commit comments