File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,25 +13,21 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v2
1515 - name : Set up Python 3
16- uses : actions/setup-python@v2
16+ uses : actions/setup-python@v5
1717 with :
18- python-version : 3.9
18+ python-version : ' >= 3.9'
1919 - name : fmtcheck
2020 run : make fmtcheck
2121
2222 build :
2323 runs-on : ubuntu-latest
24- strategy :
25- matrix :
26- python-version : [ 3.6, 3.7, 3.8, 3.9 ]
27-
2824 steps :
2925 - uses : actions/checkout@v2
3026
31- - name : Set up Python ${{ matrix.python-version }}
32- uses : actions/setup-python@v2
27+ - name : Set up Python
28+ uses : actions/setup-python@v5
3329 with :
34- python-version : ${{ matrix.python-version }}
30+ python-version : ' >=3.9 '
3531 - name : Upgrade pip and virtualenv to latest
3632 run : pip install --upgrade pip virtualenv
3733 - name : Test with pytest
Original file line number Diff line number Diff line change @@ -18,22 +18,19 @@ jobs:
1818 steps :
1919 - uses : actions/checkout@v2
2020 - name : Set up Python 3
21- uses : actions/setup-python@v2
21+ uses : actions/setup-python@v5
2222 with :
23- python-version : 3.9
23+ python-version : ' >= 3.9'
2424 - name : fmtcheck
2525 run : make fmtcheck
2626 build :
2727 runs-on : ubuntu-latest
28- strategy :
29- matrix :
30- python-version : [3.6, 3.7, 3.8, 3.9]
3128 steps :
3229 - uses : actions/checkout@v2
33- - name : Set up Python ${{ matrix.python-version }}
34- uses : actions/setup-python@v2
30+ - name : Set up Python
31+ uses : actions/setup-python@v5
3532 with :
36- python-version : ${{ matrix.python-version }}
33+ python-version : ' >=3.9 '
3734 - name : Upgrade pip and virtualenv to latest
3835 run : pip install --upgrade pip virtualenv
3936 - name : Test with pytest
4441 steps :
4542 - uses : actions/checkout@v2
4643 - name : Set up Python
47- uses : actions/setup-python@v2
44+ uses : actions/setup-python@v5
4845 with :
49- python-version : ' 3.x '
46+ python-version : ' >=3.9 '
5047 - name : Install dependencies
5148 run : |
5249 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ commands = pytest --cov {posargs:-n auto}
3737
3838[testenv:fmt]
3939description = run code formatting using black
40- basepython = python3.9
40+ basepython = python
4141deps = black ==22.6.0
4242commands = black . {posargs}
4343skip_install = true
You can’t perform that action at this time.
0 commit comments