diff --git a/.github/workflows/check_markdown.yml b/.github/workflows/check_markdown.yml new file mode 100644 index 00000000..46725a09 --- /dev/null +++ b/.github/workflows/check_markdown.yml @@ -0,0 +1,34 @@ +name: Check Markdown + +on: + push: + branches: + - master + pull_request: + branches: '*' + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + + - uses: actions/checkout@v2 + with: + submodules: true + fetch-depth: 1 + + - uses: actions/setup-node@v2 + with: + node-version: '10' + + - name: Install dependencies and check markdown + run: | + npm install `cat npm-requirements.txt` + npx remark README.md --frail + npx remark ./notebooks/ --frail + npx remark ./tests/ --frail + npx remark ./docs/ --frail + + diff --git a/.github/workflows/check_md_links.yml b/.github/workflows/check_md_links.yml index c54aac1c..62bb95e1 100644 --- a/.github/workflows/check_md_links.yml +++ b/.github/workflows/check_md_links.yml @@ -6,7 +6,6 @@ on: push: branches: - master - - dev pull_request: branches: '*' diff --git a/.github/workflows/miss_hit.yml b/.github/workflows/miss_hit.yml index caae9915..5c5e561d 100644 --- a/.github/workflows/miss_hit.yml +++ b/.github/workflows/miss_hit.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - dev pull_request: branches: '*' diff --git a/.github/workflows/moxunit.yml b/.github/workflows/moxunit.yml index 2edec1b8..3ff36e91 100644 --- a/.github/workflows/moxunit.yml +++ b/.github/workflows/moxunit.yml @@ -1,4 +1,4 @@ -name: CI +name: MOxUnit on: push: diff --git a/.travis.yml b/.travis.yml index 920f26b6..87c8f835 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,12 +46,3 @@ jobs: - name: "BIDS validator: create and check dataset" script: octave $OCTFLAGS --eval "test_makeRawDataset" && bids-validator `pwd`/output/raw/ --ignoreNiftiHeaders - - - name: "Check markdown" - before_script: - - npm install `cat npm-requirements.txt` - script: - - remark README.md --frail - - remark ./notebooks/ --frail - - remark ./tests/ --frail - - remark ./docs/ --frail diff --git a/README.md b/README.md index 4268cb39..6fb0f241 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Here are the naming templates used. - Behavior -``` +```bash sub-