@@ -3,55 +3,56 @@ name: Tests
33on :
44 pull_request :
55 branches :
6- - ' ** '
6+ - " ** "
77
88jobs :
99 test :
1010 strategy :
1111 fail-fast : false
1212 matrix :
1313 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"]
1516 runs-on : ${{ matrix.os }}
1617 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
4142
4243 flake8 :
4344 runs-on : ubuntu-latest
4445 steps :
45- - uses : actions/checkout@v2
46+ - uses : actions/checkout@v4
4647 - uses : TrueBrain/actions-flake8@master
4748 with :
4849 max_line_length : 118
4950
5051 mdlint :
5152 runs-on : ubuntu-latest
5253 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
5556 with :
56- config : ' .markdownlint.jsonc'
57- globs : ' **/*.md'
57+ config : " .markdownlint.jsonc"
58+ globs : " **/*.md"
0 commit comments