Skip to content

Commit 07aa8d7

Browse files
committed
add octave tests
1 parent 7c7e6b1 commit 07aa8d7

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

.github/workflows/run_tests_matlab.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
release: R2020a
2626

2727
- name: Clone spm_2_bids
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929
with:
3030
submodules: true
3131
fetch-depth: 2
@@ -36,8 +36,7 @@ jobs:
3636
git clone https://github.com/MOcov/MOcov.git --depth 1
3737
3838
- name: get bids-matlab and JSONio
39-
run: |
40-
make install_dev
39+
run: make install_dev
4140

4241
- name: Run commands
4342
uses: matlab-actions/[email protected]
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: tests_octave
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev
8+
paths:
9+
- '**.m'
10+
pull_request:
11+
branches: ['*']
12+
paths:
13+
- '**.m'
14+
15+
jobs:
16+
test:
17+
18+
runs-on: ubuntu-20.04
19+
20+
steps:
21+
22+
- name: Install dependencies
23+
run: |
24+
sudo apt-get -y -qq update
25+
sudo apt-get -y install octave liboctave-dev
26+
27+
- name: Clone spm_2_bids
28+
uses: actions/checkout@v3
29+
with:
30+
submodules: true
31+
fetch-depth: 2
32+
33+
- name: get bids-matlab and JSONio
34+
run: make install_dev_octave
35+
36+
- name: MOxUnit Action
37+
uses: joergbrech/[email protected]
38+
with:
39+
tests: tests
40+
src: src
41+
ext: lib/JSONio lib/bids-matlab tests/utils
42+
with_coverage: false

0 commit comments

Comments
 (0)