@@ -12,67 +12,66 @@ jobs:
1212 strategy :
1313 fail-fast : false
1414 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 "]
1616 os : [ubuntu-latest, macos-latest, windows-latest]
1717 exclude :
1818 - os : macos-latest
19- python-version : " pypy3"
19+ python-version : " pypy3.9 "
2020 - os : windows-latest
21- python-version : " pypy3"
21+ python-version : " pypy3.9 "
2222 runs-on : ${{ matrix.os }}
2323 name : " ${{ matrix.os }} Python: ${{ matrix.python-version }}"
2424 steps :
25- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v3
2626 with :
2727 fetch-depth : 0
2828 - name : Set up Python ${{ matrix.python-version }}
29- uses : actions/setup-python@v2
29+ uses : actions/setup-python@v4
3030 with :
3131 python-version : ${{ matrix.python-version }}
3232 - name : Install dependencies
3333 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
3736 - name : Log python & pip versions
3837 run : |
3938 python --version
4039 pip --version
4140 - name : Run unit tests
4241 run : tox
43- - name : " Coverage report"
42+ - name : Coverage report
4443 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
4746 with :
4847 fail_ci_if_error : true
4948 linting :
5049 runs-on : ubuntu-latest
5150 steps :
52- - uses : actions/checkout@v2
53- - uses : actions/setup-python@v2
51+ - uses : actions/checkout@v3
52+ - uses : actions/setup-python@v4
5453 with :
55- python-version : 3.8
54+ python-version : 3.9
5655 - name : Install dependencies
5756 run : |
5857 pip install -U setuptools
59- pip install -U "tox>=3.23.0,<4 "
58+ pip install -U "tox>=4.5.1,<5 "
6059 - run : tox -e lint
6160 package :
62- name : " Build & verify package"
61+ name : Build & verify package
6362 runs-on : " ubuntu-latest"
6463 steps :
65- - uses : " actions/checkout@v2 "
66- - uses : " actions/setup-python@v2 "
64+ - uses : actions/checkout@v3
65+ - uses : actions/setup-python@v4
6766 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
7069 run : " python -m pip install build twine check-wheel-contents"
71- - name : " Build package"
70+ - name : Build package
7271 run : " python -m build --sdist --wheel ."
73- - name : " List result"
72+ - name : List result
7473 run : " ls -l dist"
75- - name : " Check wheel contents"
74+ - name : Check wheel contents
7675 run : " check-wheel-contents dist/*.whl"
77- - name : " Check long_description"
76+ - name : Check long_description
7877 run : " python -m twine check dist/*"
0 commit comments