File tree Expand file tree Collapse file tree 2 files changed +33
-3
lines changed
Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,13 @@ name: Check Markdown links
22
33# checking for any dead links in markdown files
44
5- on : push
5+ on :
6+ push :
7+ branches :
8+ - master
9+ - dev
10+ pull_request :
11+ branches : ' *'
612
713jobs :
814 markdown-link-check :
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ python:
1212
1313cache :
1414 apt : true # only works with Pro version
15+ directories :
16+ - node_modules # NPM packages for the remark markdown linter
17+
18+ branches :
19+ only : # only run the CI for those branches
20+ - master
21+ - dev
1522
1623env :
1724 global : # Define environment variables for bash
@@ -43,9 +50,26 @@ before_script:
4350
4451jobs :
4552 include :
46- - name : " BIDS validator: create and check dataset"
53+ # BIDS validation
54+ - stage : " BIDS validator"
55+ name : " BIDS validator: create and check dataset"
4756 script : octave $OCTFLAGS --eval "test_makeRawDataset" && bids-validator `pwd`/output/raw/ --ignoreNiftiHeaders
48- - name : " miss_hit: checking code quality"
57+
58+ # naming the Tests stage
59+ - stage : " miss_hit"
60+ name : " miss_hit: checking code quality"
4961 script : mh_metric . --ci
62+
5063 - name : " miss_hit: checking code style"
5164 script : mh_style .
65+
66+ # naming the Linter stage
67+ - stage : Markdown linter
68+ name : " Check markdown"
69+ language : node_js
70+ node_js :
71+ - " 10"
72+ before_script :
73+ - npm install `cat npm-requirements.txt`
74+ script :
75+ - remark . --frail
You can’t perform that action at this time.
0 commit comments