55 branches :
66 - main
77 tags :
8- - " * "
8+ - ' * '
99
1010 pull_request :
1111 branches :
1212 - main
1313
1414jobs :
1515 build :
16- runs-on : ubuntu-latest
16+ runs-on : ubuntu-20.04
1717
1818 strategy :
1919 matrix :
20- python : [3.6, 3.7, 3.8, 3.9, pypy ]
20+ python : [' 3.6', ' 3.7', ' 3.8', ' 3.9', '3.10', 'pypy3.9' ]
2121
2222 steps :
23- - uses : actions/checkout@v2
23+ - uses : actions/checkout@v3
2424 with :
2525 fetch-depth : 0
2626
2727 - name : Set up Python ${{ matrix.python }}
28- uses : actions/setup-python@v3
28+ uses : actions/setup-python@v4
2929 with :
3030 python-version : ${{ matrix.python }}
3131
3232 - name : Install dependencies
3333 run : |
3434 python -m pip install --upgrade pip setuptools
35- python -m pip install tox
35+ python -m pip install ' tox>=3.28,<4.0'
3636
3737 - name : Test with Python 3.6
3838 if : matrix.python == '3.6'
39- run : tox -e " py36-pytest{4,50,51,52,53,54,60,61,62,70}"
39+ run : tox -e ' py36-pytest{4,50,51,52,53,54,60,61,62,70}'
4040
4141 - name : Test with Python 3.7
4242 if : matrix.python == '3.7'
43- run : tox -e " py37-pytest{4,50,51,52,53,54,60,61,62,70}"
43+ run : tox -e ' py37-pytest{4,50,51,52,53,54,60,61,62,70}'
4444
4545 - name : Test with Python 3.8
4646 if : matrix.python == '3.8'
47- run : tox -e " py38-pytest{4,50,51,52,53,54,60,61,62,70}"
47+ run : tox -e ' py38-pytest{4,50,51,52,53,54,60,61,62,70}'
4848
4949 - name : Test with Python 3.9
5050 if : matrix.python == '3.9'
51- run : tox -e " py39-pytest{4,50,51,52,53,54,60,61,62,70}"
51+ run : tox -e ' py39-pytest{4,50,51,52,53,54,60,61,62,70}'
5252
5353 - name : Test with Python 3.10
5454 if : matrix.python == '3.10'
55- run : tox -e " py310-pytest{62,70}"
55+ run : tox -e ' py310-pytest{62,70}'
5656
57- - name : Test with PyPy
58- if : matrix.python == 'pypy '
59- run : tox -e "pypy -pytest{4,50,51,52,53,54,60,61,62,70}"
57+ - name : Test with PyPy 3.9
58+ if : matrix.python == 'pypy3.9 '
59+ run : tox -e 'pypy39 -pytest{4,50,51,52,53,54,60,61,62,70}'
6060
6161 - name : Linting with Flake8
6262 if : matrix.python == '3.9'
@@ -70,13 +70,13 @@ jobs:
7070 runs-on : ubuntu-latest
7171
7272 steps :
73- - uses : actions/checkout@v2
73+ - uses : actions/checkout@v3
7474 with :
7575 fetch-depth : 0
7676
77- - uses : actions/setup-python@v3
77+ - uses : actions/setup-python@v4
7878 with :
79- python-version : " 3.9"
79+ python-version : ' 3.9'
8080
8181 - name : Install dependencies
8282 run : |
8787 run : python setup.py sdist bdist_wheel
8888
8989 - name : Publish package
90- uses : pypa/gh-action-pypi-publish@v1
90+ uses : pypa/gh-action-pypi-publish@release/ v1
9191 with :
9292 user : __token__
9393 password : ${{ secrets.pypi_token }}
0 commit comments