@@ -31,65 +31,51 @@ jobs:
31
31
include :
32
32
# Make sure to run mypyc compiled unit tests for both
33
33
# the oldest and newest supported Python versions
34
- - name : Test suite with py38-ubuntu, mypyc-compiled
35
- python : ' 3.8'
36
- arch : x64
37
- os : ubuntu-latest
34
+ - name : Test suite with py39-ubuntu, mypyc-compiled
35
+ python : ' 3.9'
36
+ os : ubuntu-22.04-arm
38
37
toxenv : py
39
38
tox_extra_args : " -n 4"
40
39
test_mypyc : true
41
- - name : Test suite with py38-windows-64
42
- python : ' 3.8'
43
- arch : x64
44
- os : windows-latest
45
- toxenv : py38
46
- tox_extra_args : " -n 4"
47
- - name : Test suite with py39-ubuntu
40
+ - name : Test suite with py39-windows-64
48
41
python : ' 3.9'
49
- arch : x64
50
- os : ubuntu-latest
51
- toxenv : py
42
+ os : windows-latest
43
+ toxenv : py39
52
44
tox_extra_args : " -n 4"
53
45
- name : Test suite with py310-ubuntu
54
46
python : ' 3.10'
55
- arch : x64
56
- os : ubuntu-latest
47
+ os : ubuntu-22.04-arm
57
48
toxenv : py
58
49
tox_extra_args : " -n 4"
59
50
- name : Test suite with py311-ubuntu, mypyc-compiled
60
51
python : ' 3.11'
61
- arch : x64
62
- os : ubuntu-latest
52
+ os : ubuntu-22.04-arm
63
53
toxenv : py
64
54
tox_extra_args : " -n 4"
65
55
test_mypyc : true
66
56
- name : Test suite with py312-ubuntu, mypyc-compiled
67
57
python : ' 3.12'
68
- arch : x64
69
- os : ubuntu-latest
58
+ os : ubuntu-22.04-arm
70
59
toxenv : py
71
60
tox_extra_args : " -n 4"
72
61
test_mypyc : true
73
62
- name : Test suite with py313-ubuntu, mypyc-compiled
74
63
python : ' 3.13'
75
- arch : x64
76
- os : ubuntu-latest
64
+ os : ubuntu-22.04-arm
77
65
toxenv : py
78
66
tox_extra_args : " -n 4"
79
67
test_mypyc : true
80
68
81
69
# - name: Test suite with py314-dev-ubuntu
82
70
# python: '3.14-dev'
83
- # arch: x64
84
- # os: ubuntu-latest
71
+ # os: ubuntu-22.04-arm
85
72
# toxenv: py
86
73
# tox_extra_args: "-n 4"
87
74
# allow_failure: true
88
75
# test_mypyc: true
89
76
90
77
- name : mypyc runtime tests with py39-macos
91
- python : ' 3.9.18'
92
- arch : x64
78
+ python : ' 3.9.21'
93
79
# TODO: macos-13 is the last one to support Python 3.9, change it to macos-latest when updating the Python version
94
80
os : macos-13
95
81
toxenv : py
@@ -98,21 +84,18 @@ jobs:
98
84
# - https://github.com/python/mypy/issues/17819
99
85
# - https://github.com/python/mypy/pull/17822
100
86
# - name: mypyc runtime tests with py38-debug-build-ubuntu
101
- # python: '3.8.17'
102
- # arch: x64
87
+ # python: '3.9.21'
103
88
# os: ubuntu-latest
104
89
# toxenv: py
105
90
# tox_extra_args: "-n 4 mypyc/test/test_run.py mypyc/test/test_external.py"
106
91
# debug_build: true
107
92
108
- - name : Type check our own code (py38-ubuntu)
109
- python : ' 3.8'
110
- arch : x64
93
+ - name : Type check our own code (py39-ubuntu)
94
+ python : ' 3.9'
111
95
os : ubuntu-latest
112
96
toxenv : type
113
- - name : Type check our own code (py38-windows-64)
114
- python : ' 3.8'
115
- arch : x64
97
+ - name : Type check our own code (py39-windows-64)
98
+ python : ' 3.9'
116
99
os : windows-latest
117
100
toxenv : type
118
101
@@ -121,7 +104,6 @@ jobs:
121
104
# to ensure the tox env works as expected
122
105
- name : Formatting and code style with Black + ruff
123
106
python : ' 3.10'
124
- arch : x64
125
107
os : ubuntu-latest
126
108
toxenv : lint
127
109
@@ -142,6 +124,8 @@ jobs:
142
124
143
125
steps :
144
126
- uses : actions/checkout@v4
127
+ with :
128
+ persist-credentials : false
145
129
146
130
- name : Debug build
147
131
if : ${{ matrix.debug_build }}
@@ -173,7 +157,6 @@ jobs:
173
157
if : ${{ !(matrix.debug_build || endsWith(matrix.python, '-dev')) }}
174
158
with :
175
159
python-version : ${{ matrix.python }}
176
- architecture : ${{ matrix.arch }}
177
160
178
161
- name : Install tox
179
162
run : |
@@ -223,6 +206,8 @@ jobs:
223
206
CC : i686-linux-gnu-gcc
224
207
steps :
225
208
- uses : actions/checkout@v4
209
+ with :
210
+ persist-credentials : false
226
211
- name : Install 32-bit build dependencies
227
212
run : |
228
213
sudo dpkg --add-architecture i386 && \
0 commit comments