1212 workflow_dispatch :
1313
1414jobs :
15- test-setup-python :
16- name : Test setup-python
15+ test-setup-python-older :
16+ name : Test setup-python old versions
1717 runs-on : ${{ matrix.operating-system }}
1818 strategy :
1919 matrix :
20- operating-system : [ubuntu-20.04, windows-latest]
20+ operating-system :
21+ [ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest, macos-13]
22+ python : [3.8.10, 3.8.18]
23+ exclude :
24+ - operating-system : ubuntu-22.04
25+ python : ' 3.8.10'
26+ - operating-system : macos-latest
27+ python : ' 3.8.18'
28+ - operating-system : windows-latest
29+ python : ' 3.8.18'
2130 steps :
2231 - name : Checkout
2332 uses : actions/checkout@v4
2433
25- - name : Run with setup-python 3.8
26- uses : ./
27- with :
28- python-version : 3.8
29- - name : Verify 3.8
30- run : python __tests__/verify-python.py 3.8
31-
32- - name : Run with setup-python 3.8.10
34+ - name : Run with setup-python ${{ matrix.python }}
35+ id : setup-python
3336 uses : ./
3437 with :
35- python-version : 3.8.10
36- - name : Verify 3.8.10
37- run : python __tests__/verify-python.py 3.8.10
38+ python-version : ${{ matrix.python }}
39+ - name : Verify ${{ matrix.python }}
40+ run : python __tests__/verify-python.py ${{ matrix.python }}
41+ test-setup-python :
42+ name : Test setup-python
43+ runs-on : ${{ matrix.operating-system }}
44+ strategy :
45+ matrix :
46+ operating-system :
47+ [ubuntu-20.04, windows-latest, ubuntu-22.04, macos-latest, macos-13]
48+ steps :
49+ - name : Checkout
50+ uses : actions/checkout@v4
3851
3952 - name : Run with setup-python 3.9.13
4053 uses : ./
@@ -57,36 +70,43 @@ jobs:
5770 - name : Verify 3.11.9
5871 run : python __tests__/verify-python.py 3.11.9
5972
60- - name : Run with setup-python 3.12.4
73+ - name : Run with setup-python 3.12.7
74+ uses : ./
75+ with :
76+ python-version : 3.12.7
77+ - name : Verify 3.12.7
78+ run : python __tests__/verify-python.py 3.12.7
79+
80+ - name : Run with setup-python 3.13.0
6181 uses : ./
6282 with :
63- python-version : 3.12.4
64- - name : Verify 3.12.4
65- run : python __tests__/verify-python.py 3.12.4
83+ python-version : 3.13.0
84+ - name : Verify 3.13.0
85+ run : python __tests__/verify-python.py 3.13.0
6686
67- - name : Run with setup-python 3.10
68- id : cp310
87+ - name : Run with setup-python 3.13
88+ id : cp313
6989 uses : ./
7090 with :
71- python-version : ' 3.10 '
72- - name : Verify 3.10
73- run : python __tests__/verify-python.py 3.10
74- - name : Run python-path sample 3.10
75- run : pipx run --python '${{ steps.cp310 .outputs.python-path }}' nox --version
91+ python-version : ' 3.13 '
92+ - name : Verify 3.13
93+ run : python __tests__/verify-python.py 3.13
94+ - name : Run python-path sample 3.13
95+ run : pipx run --python '${{ steps.cp313 .outputs.python-path }}' nox --version
7696
77- - name : Run with setup-python ==3.8
97+ - name : Run with setup-python ==3.13
7898 uses : ./
7999 with :
80- python-version : ' ==3.8 '
81- - name : Verify ==3.8
82- run : python __tests__/verify-python.py 3.8
100+ python-version : ' ==3.13 '
101+ - name : Verify ==3.13
102+ run : python __tests__/verify-python.py 3.13
83103
84- - name : Run with setup-python <3.11
104+ - name : Run with setup-python <3.13
85105 uses : ./
86106 with :
87- python-version : ' <3.11 '
88- - name : Verify <3.11
89- run : python __tests__/verify-python.py 3.10
107+ python-version : ' <3.13 '
108+ - name : Verify <3.13
109+ run : python __tests__/verify-python.py 3.12
90110 - name : Test Raw Endpoint Access
91111 run : |
92112 curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty
0 commit comments