@@ -11,13 +11,11 @@ jobs:
1111
1212 # Test Code for recent Python releases
1313 test-code :
14- runs-on : ubuntu-20 .04
14+ runs-on : ubuntu-24 .04
1515 strategy :
1616 fail-fast : false
1717 matrix :
1818 python-version :
19- - ' 3.6'
20- - ' 3.7'
2119 - ' 3.8'
2220 - ' 3.9'
2321 - ' 3.10'
@@ -27,10 +25,10 @@ jobs:
2725 steps :
2826
2927 - name : Checkout repo
30- uses : actions/checkout@v3
28+ uses : actions/checkout@v4
3129
3230 - name : Set up Python ${{ matrix.python-version }}
33- uses : actions/setup-python@v4
31+ uses : actions/setup-python@v5
3432 with :
3533 python-version : ${{ matrix.python-version }}
3634
@@ -45,39 +43,37 @@ jobs:
4543
4644 # Test Code for older Python3 releases
4745 test-code-older-py3 :
48- runs-on : ubuntu-20 .04
46+ runs-on : ubuntu-24 .04
4947 container :
5048 image : python:${{ matrix.python-version }}
5149 strategy :
5250 fail-fast : false
5351 matrix :
54- python-version : ['3.5.10']
52+ python-version :
53+ - ' 3.5.10'
54+ - ' 3.6.15'
55+ - ' 3.7.17'
5556 steps :
5657
5758 - name : Checkout repo
58- uses : actions/checkout@v3
59+ uses : actions/checkout@v4
5960
6061 - name : Install dependencies
6162 shell : bash
6263 run : |
63- if [[ ${{ matrix.python-version }} == 3.3* ]]; then
64- python -m pip install virtualenv==15.2.0
65- python -m pip install pluggy==0.5.2
66- python -m pip install tox==2.9.1
67- fi
6864 python -m pip install tox
6965
7066 - name : Test Code
7167 shell : bash
7268 run : |
7369 version_abbr=$( echo ${{ matrix.python-version }} | sed -r 's/^([0-9])\.([0-9]).*/\1\2/' )
74- envs=$( tox -listenvs | grep "py$version_abbr-" | tr '\n' ',' )
70+ envs=$( tox -- listenvs | grep "py$version_abbr-" | tr '\n' ',' )
7571 tox -e $envs
7672
7773
7874 # Test Code for Python27
7975 test-code-older-py27 :
80- runs-on : ubuntu-20 .04
76+ runs-on : ubuntu-24 .04
8177 container :
8278 image : python:${{ matrix.python-version }}
8379 strategy :
8884 steps :
8985
9086 - name : Checkout repo
91- uses : actions/checkout@v3
87+ uses : actions/checkout@v4
9288
9389 - name : Install dependencies
9490 run : |
@@ -101,16 +97,16 @@ jobs:
10197
10298 # Test Docs
10399 test-docs :
104- runs-on : ubuntu-20 .04
100+ runs-on : ubuntu-24 .04
105101 strategy :
106102 fail-fast : false
107103 steps :
108104
109105 - name : Checkout repo
110- uses : actions/checkout@v3
106+ uses : actions/checkout@v4
111107
112108 - name : Set up Python ${{ matrix.python-version }}
113- uses : actions/setup-python@v4
109+ uses : actions/setup-python@v5
114110 with :
115111 python-version : ' 3.11'
116112
@@ -126,18 +122,18 @@ jobs:
126122
127123 # Save Artifacts
128124 create-save-artifacts :
129- runs-on : ubuntu-20 .04
125+ runs-on : ubuntu-24 .04
130126 needs : [test-code, test-code-older-py3, test-code-older-py27, test-docs]
131127 permissions :
132128 contents : write
133129
134130 steps :
135131
136132 - name : Checkout repo
137- uses : actions/checkout@v3
133+ uses : actions/checkout@v4
138134
139135 - name : Set up Python
140- uses : actions/setup-python@v4
136+ uses : actions/setup-python@v5
141137 with :
142138 python-version : ' 3.11'
143139
@@ -190,14 +186,14 @@ jobs:
190186
191187 # Deploy to GitHub Releases
192188 deploy-github-releases :
193- runs-on : ubuntu-20 .04
189+ runs-on : ubuntu-24 .04
194190 needs : [create-save-artifacts]
195191 if : success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
196192
197193 steps :
198194
199195 - name : Checkout repo
200- uses : actions/checkout@v3
196+ uses : actions/checkout@v4
201197
202198 - name : Deploy to GitHub Releases
203199 shell : bash
@@ -220,17 +216,17 @@ jobs:
220216
221217 # Deploy to PyPi
222218 deploy-pypi :
223- runs-on : ubuntu-20 .04
219+ runs-on : ubuntu-24 .04
224220 needs : [create-save-artifacts]
225221 if : success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
226222
227223 steps :
228224
229225 - name : Checkout repo
230- uses : actions/checkout@v3
226+ uses : actions/checkout@v4
231227
232228 - name : Set up Python
233- uses : actions/setup-python@v4
229+ uses : actions/setup-python@v5
234230 with :
235231 python-version : ' 3.11'
236232
0 commit comments