File tree Expand file tree Collapse file tree 3 files changed +18
-52
lines changed Expand file tree Collapse file tree 3 files changed +18
-52
lines changed Original file line number Diff line number Diff line change 1- name : miss_hit_quality
1+ name : miss_hit
22
33on :
44 push :
55 branches :
66 - main
7- - master
87 - dev
8+ paths :
9+ - ' **.m'
910 pull_request :
1011 branches : ['*']
12+ paths :
13+ - ' **.m'
1114
1215jobs :
13- build :
16+
17+ miss_hit :
1418
1519 runs-on : ubuntu-latest
1620
21+ strategy :
22+ matrix :
23+ command : ["mh_style", "mh_metric --ci && mh_lint"]
24+ fail-fast : true # cancel all jobs if one fails
25+
1726 steps :
1827
19- - name : Install CPP_ROI
20- uses : actions/checkout@v3
28+ - uses : actions/checkout@v3
2129 with :
2230 submodules : true
2331 fetch-depth : 1
2432
25- - name : Set up Python 3.6
33+ - name : Set up Python
2634 uses : actions/setup-python@v2
2735 with :
28- python-version : 3.6
36+ python-version : 3.9
2937
3038 - name : Install dependencies
3139 run : |
3240 python -m pip install --upgrade pip setuptools
3341 pip3 install -r requirements.txt
3442
35- - name : MISS_HIT Metrics
36- run : |
37- mh_metric --ci
38-
39- - name : MISS_HIT Bug finder
43+ - name : ${{ matrix.command }}
4044 run : |
41- mh_lint
45+ ${{ matrix.command }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [ ![ miss_hit_style] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/miss_hit_style.yml/badge.svg )] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/miss_hit_style.yml )
2- [ ![ miss_hit_quality] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/miss_hit_quality.yml/badge.svg )] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/miss_hit_quality.yml )
1+ [ ![ miss_hit] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/miss_hit.yml/badge.svg )] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/miss_hit.yml )
32[ ![ tests and coverage with matlab] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/run_tests_matlab.yml/badge.svg )] ( https://github.com/cpp-lln-lab/CPP_ROI/actions/workflows/run_tests_matlab.yml )
43[ ![ codecov] ( https://codecov.io/gh/cpp-lln-lab/CPP_ROI/branch/main/graph/badge.svg?token=8IoRQtbFUV )] ( https://codecov.io/gh/cpp-lln-lab/CPP_ROI )
54
You can’t perform that action at this time.
0 commit comments