12
12
workflow_dispatch :
13
13
14
14
jobs :
15
- test-setup-python :
16
- name : Test setup-python
15
+ test-setup-python-older :
16
+ name : Test setup-python old versions
17
17
runs-on : ${{ matrix.operating-system }}
18
18
strategy :
19
19
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'
21
30
steps :
22
31
- name : Checkout
23
32
uses : actions/checkout@v4
24
33
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
33
36
uses : ./
34
37
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
38
51
39
52
- name : Run with setup-python 3.9.13
40
53
uses : ./
@@ -57,36 +70,43 @@ jobs:
57
70
- name : Verify 3.11.9
58
71
run : python __tests__/verify-python.py 3.11.9
59
72
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
61
81
uses : ./
62
82
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
66
86
67
- - name : Run with setup-python 3.10
68
- id : cp310
87
+ - name : Run with setup-python 3.13
88
+ id : cp313
69
89
uses : ./
70
90
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
76
96
77
- - name : Run with setup-python ==3.8
97
+ - name : Run with setup-python ==3.13
78
98
uses : ./
79
99
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
83
103
84
- - name : Run with setup-python <3.11
104
+ - name : Run with setup-python <3.13
85
105
uses : ./
86
106
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
90
110
- name : Test Raw Endpoint Access
91
111
run : |
92
112
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty
0 commit comments