@@ -3,55 +3,56 @@ name: Tests
3
3
on :
4
4
pull_request :
5
5
branches :
6
- - ' ** '
6
+ - " ** "
7
7
8
8
jobs :
9
9
test :
10
10
strategy :
11
11
fail-fast : false
12
12
matrix :
13
13
os : [ubuntu-latest, windows-latest, macos-latest]
14
- python-version : [3.8, 3.9, '3.10', 3.11, pypy-3.8, pypy-3.9, pypy-3.10]
14
+ python-version :
15
+ ["3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
15
16
runs-on : ${{ matrix.os }}
16
17
steps :
17
- - uses : actions/checkout@v2
18
- - name : Setup Python ${{ matrix.python-version }}
19
- uses : actions/setup-python@v2
20
- with :
21
- python-version : ${{ matrix.python-version }}
22
- - name : Install dependencies
23
- run : |
24
- python -m pip install --upgrade pip coverage markdown
25
- - name : Run tests
26
- run : |
27
- coverage run test_gh_links.py
28
- - name : Generate coverage report
29
- if : success()
30
- run : |
31
- coverage xml
32
- coverage report --show-missing --include=mdx_gh_links.py
33
- - name : Upload Results
34
- if : success()
35
- uses : codecov/codecov-action@v1
36
- with :
37
- file : ./coverage.xml
38
- flags : unittests
39
- name : ${{ matrix.os }}/Python ${{ matrix.python-version }}
40
- fail_ci_if_error : false
18
+ - uses : actions/checkout@v4
19
+ - name : Setup Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v5
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip coverage markdown
26
+ - name : Run tests
27
+ run : |
28
+ coverage run test_gh_links.py
29
+ - name : Generate coverage report
30
+ if : success()
31
+ run : |
32
+ coverage xml
33
+ coverage report --show-missing --include=mdx_gh_links.py
34
+ - name : Upload Results
35
+ if : success()
36
+ uses : codecov/codecov-action@v3
37
+ with :
38
+ files : ./coverage.xml
39
+ flags : unittests
40
+ name : ${{ matrix.os }}/Python ${{ matrix.python-version }}
41
+ fail_ci_if_error : false
41
42
42
43
flake8 :
43
44
runs-on : ubuntu-latest
44
45
steps :
45
- - uses : actions/checkout@v2
46
+ - uses : actions/checkout@v4
46
47
- uses : TrueBrain/actions-flake8@master
47
48
with :
48
49
max_line_length : 118
49
50
50
51
mdlint :
51
52
runs-on : ubuntu-latest
52
53
steps :
53
- - uses : actions/checkout@v2
54
- - uses : DavidAnson/markdownlint-cli2-action@v11
54
+ - uses : actions/checkout@v4
55
+ - uses : DavidAnson/markdownlint-cli2-action@v14
55
56
with :
56
- config : ' .markdownlint.jsonc'
57
- globs : ' **/*.md'
57
+ config : " .markdownlint.jsonc"
58
+ globs : " **/*.md"
0 commit comments