Skip to content

Commit 17230bd

Browse files
authored
Merge pull request #150 from Remi-Gau/remi-update_CI
[INFRA] update github action
2 parents 4d3f0cb + cf92501 commit 17230bd

File tree

8 files changed

+42
-40
lines changed

8 files changed

+42
-40
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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 . --frail
30+
31+

.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:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ cpp_ptb
1313

1414
# ignore file created by sphynx
1515
/docs/build
16+
17+
# exclude node js stuff
18+
node_modules/*
19+
package-lock.json

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ We use the
227227
to automatically fix some linting issues.
228228

229229
The code style and quality is also checked during the
230-
[continuous integration](./.travis.yml).
230+
[continuous integration](.github/workflows/miss_hit.yml).
231231

232232
## Unit tests
233233

docs/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ extensions = [
3838
'sphinx.ext.autodoc']
3939
```
4040

41-
`matlab_src_dir` in `docs/source/conf.py` should have the path (relative to `conf.py`)
42-
to the folder containing your matlab code:
41+
`matlab_src_dir` in `docs/source/conf.py` should have the path (relative to
42+
`conf.py`) to the folder containing your matlab code:
4343

4444
```python
4545
matlab_src_dir = os.path.dirname(os.path.abspath('../../src'))
@@ -118,8 +118,8 @@ Add a [`.readthedocs.yml`](../.readthedocs.yml) file in the root of your repo.
118118
See [HERE](https://docs.readthedocs.io/en/stable/config-file/v2.html) for
119119
details.
120120

121-
You can then trigger the build of the doc by going to the [read the docs](https://readthedocs.org)
122-
website.
121+
You can then trigger the build of the doc by going to the
122+
[read the docs](https://readthedocs.org) website.
123123

124124
You might need to be added as a maintainer of the doc.
125125

@@ -136,4 +136,4 @@ Some are listed
136136

137137
### Read the docs
138138

139-
- [qMRLab](https://github.com/qMRLab/qMRLab/wiki/Guideline:-Generating-Documentation)
139+
- [qMRLab](https://github.com/qMRLab/qMRLab/wiki/Guideline:-Generating-Documentation)

0 commit comments

Comments
 (0)