generated from cpp-lln-lab/template_matlab_analysis
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (42 loc) · 1.06 KB
/
run_tests_octave.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
name: tests_octave
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches: ['*']
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get -y -qq update
sudo apt-get -y install octave liboctave-dev
- name: Clone spm_2_bids
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 2
- name: get bids-matlab and JSONio
run: make install_dev_octave
- name: MOxUnit Action
uses: joergbrech/[email protected]
with:
tests: tests
src: src src/defaults src/utils
ext: lib/JSONio lib/bids-matlab tests/utils
with_coverage: true
cover_xml_file: coverage.xml
- name: Code coverage
uses: codecov/codecov-action@v4
with:
file: coverage.xml
flags: ubuntu-latest_octave
name: codecov-umbrella
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}