@@ -12,67 +12,66 @@ jobs:
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
- python-version : ["3.6", "3. 7", "3.8", "3.9", "3.10", "pypy3"]
15
+ python-version : ["3.7", "3.8", "3.9", "3.10", "pypy3.9 "]
16
16
os : [ubuntu-latest, macos-latest, windows-latest]
17
17
exclude :
18
18
- os : macos-latest
19
- python-version : " pypy3"
19
+ python-version : " pypy3.9 "
20
20
- os : windows-latest
21
- python-version : " pypy3"
21
+ python-version : " pypy3.9 "
22
22
runs-on : ${{ matrix.os }}
23
23
name : " ${{ matrix.os }} Python: ${{ matrix.python-version }}"
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v3
26
26
with :
27
27
fetch-depth : 0
28
28
- name : Set up Python ${{ matrix.python-version }}
29
- uses : actions/setup-python@v2
29
+ uses : actions/setup-python@v4
30
30
with :
31
31
python-version : ${{ matrix.python-version }}
32
32
- name : Install dependencies
33
33
run : |
34
- pip install -U "pip>=21.1"
35
- pip install -U setuptools
36
- pip install -U "tox>=3.23.0,<4" codecov tox-gh-actions coverage
34
+ pip install -U "pip>=23.1.2"
35
+ pip install -U "tox-gh-actions==3.1.0" coverage
37
36
- name : Log python & pip versions
38
37
run : |
39
38
python --version
40
39
pip --version
41
40
- name : Run unit tests
42
41
run : tox
43
- - name : " Coverage report"
42
+ - name : Coverage report
44
43
run : coverage xml
45
- - name : " Upload coverage to Codecov"
46
- uses : " codecov/codecov-action@v1 "
44
+ - name : Upload coverage to Codecov
45
+ uses : codecov/codecov-action@v3
47
46
with :
48
47
fail_ci_if_error : true
49
48
linting :
50
49
runs-on : ubuntu-latest
51
50
steps :
52
- - uses : actions/checkout@v2
53
- - uses : actions/setup-python@v2
51
+ - uses : actions/checkout@v3
52
+ - uses : actions/setup-python@v4
54
53
with :
55
- python-version : 3.8
54
+ python-version : 3.9
56
55
- name : Install dependencies
57
56
run : |
58
57
pip install -U setuptools
59
- pip install -U "tox>=3.23.0,<4 "
58
+ pip install -U "tox>=4.5.1,<5 "
60
59
- run : tox -e lint
61
60
package :
62
- name : " Build & verify package"
61
+ name : Build & verify package
63
62
runs-on : " ubuntu-latest"
64
63
steps :
65
- - uses : " actions/checkout@v2 "
66
- - uses : " actions/setup-python@v2 "
64
+ - uses : actions/checkout@v3
65
+ - uses : actions/setup-python@v4
67
66
with :
68
- python-version : " 3.8 "
69
- - name : " Install build, check-wheel-content, and twine"
67
+ python-version : " 3.9 "
68
+ - name : Install build, check-wheel-content, and twine
70
69
run : " python -m pip install build twine check-wheel-contents"
71
- - name : " Build package"
70
+ - name : Build package
72
71
run : " python -m build --sdist --wheel ."
73
- - name : " List result"
72
+ - name : List result
74
73
run : " ls -l dist"
75
- - name : " Check wheel contents"
74
+ - name : Check wheel contents
76
75
run : " check-wheel-contents dist/*.whl"
77
- - name : " Check long_description"
76
+ - name : Check long_description
78
77
run : " python -m twine check dist/*"
0 commit comments