Skip to content

Commit 4579ed8

Browse files
authored
Merge pull request #160 from Remi-Gau/remi-update_CI
[INFRA] update CI
2 parents 9a57c2e + 096cd5d commit 4579ed8

File tree

6 files changed

+42
-18
lines changed

6 files changed

+42
-18
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Check Markdown
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches: '*'
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
17+
- uses: actions/checkout@v2
18+
with:
19+
submodules: true
20+
fetch-depth: 1
21+
22+
- uses: actions/setup-node@v2
23+
with:
24+
node-version: '10'
25+
26+
- name: Install dependencies and check markdown
27+
run: |
28+
npm install `cat npm-requirements.txt`
29+
npx remark README.md --frail
30+
npx remark ./notebooks/ --frail
31+
npx remark ./tests/ --frail
32+
npx remark ./docs/ --frail
33+
34+

.github/workflows/check_md_links.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
push:
77
branches:
88
- master
9-
- dev
109
pull_request:
1110
branches: '*'
1211

.github/workflows/miss_hit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- master
7-
- dev
87
pull_request:
98
branches: '*'
109

.github/workflows/moxunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: MOxUnit
22

33
on:
44
push:

.travis.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,3 @@ jobs:
4646

4747
- name: "BIDS validator: create and check dataset"
4848
script: octave $OCTFLAGS --eval "test_makeRawDataset" && bids-validator `pwd`/output/raw/ --ignoreNiftiHeaders
49-
50-
- name: "Check markdown"
51-
before_script:
52-
- npm install `cat npm-requirements.txt`
53-
script:
54-
- remark README.md --frail
55-
- remark ./notebooks/ --frail
56-
- remark ./tests/ --frail
57-
- remark ./docs/ --frail

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Here are the naming templates used.
8787

8888
- Behavior
8989

90-
```
90+
```bash
9191
sub-<label>[_ses-<label>]_task-<label>[_acq-<label>][_run-<index>]_events.tsv
9292
sub-<label>[_ses-<label>]_task-<label>[_acq-<label>][_run-<index>]_events.json
9393
sub-<label>[_ses-<label>]_task-<label>[_acq-<label>][_run-<index>]_beh.tsv
@@ -96,19 +96,19 @@ sub-<label>[_ses-<label>]_task-<label>[_acq-<label>][_run-<index>]_beh.json
9696

9797
- BOLD
9898

99-
```
99+
```bash
100100
sub-<label>[_ses-<label>]_task-<label>[_acq-<label>][_ce-<label>][_dir-<label>][_rec-<label>][_run-<index>][_echo-<index>]_<contrast_label>.nii[.gz]
101101
```
102102

103103
- iEEG
104104

105-
```
105+
```bash
106106
sub-<label>[_ses-<label>]_task-<task_label>[_run-<index>]_ieeg.json
107107
```
108108

109109
- EEG
110110

111-
```
111+
```bash
112112
sub-<label>[_ses-<label>]_task-<label>[_run-<index>]_eeg.<manufacturer_specific_extension>
113113
sub-<label>[_ses-<label>]_task-<label>[_run-<index>]_eeg.json
114114
```
@@ -131,13 +131,13 @@ current format `<matches>_recording-eyetracking_physio.tsv.gz`
131131

132132
future BEP format in a dedicated eyetracker folder
133133

134-
```
134+
```bash
135135
sub-<participant_label>[_ses-<label>][_acq-<label>]_task-<task_label>_eyetrack.<manufacturer_specific_extension>
136136
```
137137

138138
- Stim and physio
139139

140-
```
140+
```bash
141141
<matches>[_recording-<label>]_physio.tsv.gz
142142
<matches>[_recording-<label>]_physio.json
143143
<matches>[_recording-<label>]_stim.tsv.gz
@@ -167,6 +167,7 @@ Thanks goes to these wonderful people
167167

168168
<!-- markdownlint-enable -->
169169
<!-- prettier-ignore-end -->
170+
170171
<!-- ALL-CONTRIBUTORS-LIST:END -->
171172

172173
This project follows the

0 commit comments

Comments
 (0)