@@ -31,65 +31,51 @@ jobs:
3131 include :
3232 # Make sure to run mypyc compiled unit tests for both
3333 # 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-24.04-arm
3837 toxenv : py
3938 tox_extra_args : " -n 4"
4039 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
4841 python : ' 3.9'
49- arch : x64
50- os : ubuntu-latest
51- toxenv : py
42+ os : windows-latest
43+ toxenv : py39
5244 tox_extra_args : " -n 4"
5345 - name : Test suite with py310-ubuntu
5446 python : ' 3.10'
55- arch : x64
56- os : ubuntu-latest
47+ os : ubuntu-24.04-arm
5748 toxenv : py
5849 tox_extra_args : " -n 4"
5950 - name : Test suite with py311-ubuntu, mypyc-compiled
6051 python : ' 3.11'
61- arch : x64
62- os : ubuntu-latest
52+ os : ubuntu-24.04-arm
6353 toxenv : py
6454 tox_extra_args : " -n 4"
6555 test_mypyc : true
6656 - name : Test suite with py312-ubuntu, mypyc-compiled
6757 python : ' 3.12'
68- arch : x64
69- os : ubuntu-latest
58+ os : ubuntu-24.04-arm
7059 toxenv : py
7160 tox_extra_args : " -n 4"
7261 test_mypyc : true
7362 - name : Test suite with py313-ubuntu, mypyc-compiled
7463 python : ' 3.13'
75- arch : x64
76- os : ubuntu-latest
64+ os : ubuntu-24.04-arm
7765 toxenv : py
7866 tox_extra_args : " -n 4"
7967 test_mypyc : true
8068
8169 # - name: Test suite with py314-dev-ubuntu
8270 # python: '3.14-dev'
83- # arch: x64
84- # os: ubuntu-latest
71+ # os: ubuntu-24.04-arm
8572 # toxenv: py
8673 # tox_extra_args: "-n 4"
8774 # allow_failure: true
8875 # test_mypyc: true
8976
9077 - name : mypyc runtime tests with py39-macos
91- python : ' 3.9.18'
92- arch : x64
78+ python : ' 3.9.21'
9379 # TODO: macos-13 is the last one to support Python 3.9, change it to macos-latest when updating the Python version
9480 os : macos-13
9581 toxenv : py
@@ -98,21 +84,18 @@ jobs:
9884 # - https://github.com/python/mypy/issues/17819
9985 # - https://github.com/python/mypy/pull/17822
10086 # - name: mypyc runtime tests with py38-debug-build-ubuntu
101- # python: '3.8.17'
102- # arch: x64
87+ # python: '3.9.21'
10388 # os: ubuntu-latest
10489 # toxenv: py
10590 # tox_extra_args: "-n 4 mypyc/test/test_run.py mypyc/test/test_external.py"
10691 # debug_build: true
10792
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'
11195 os : ubuntu-latest
11296 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'
11699 os : windows-latest
117100 toxenv : type
118101
@@ -121,7 +104,6 @@ jobs:
121104 # to ensure the tox env works as expected
122105 - name : Formatting and code style with Black + ruff
123106 python : ' 3.10'
124- arch : x64
125107 os : ubuntu-latest
126108 toxenv : lint
127109
@@ -142,6 +124,8 @@ jobs:
142124
143125 steps :
144126 - uses : actions/checkout@v4
127+ with :
128+ persist-credentials : false
145129
146130 - name : Debug build
147131 if : ${{ matrix.debug_build }}
@@ -173,7 +157,6 @@ jobs:
173157 if : ${{ !(matrix.debug_build || endsWith(matrix.python, '-dev')) }}
174158 with :
175159 python-version : ${{ matrix.python }}
176- architecture : ${{ matrix.arch }}
177160
178161 - name : Install tox
179162 run : |
@@ -223,6 +206,8 @@ jobs:
223206 CC : i686-linux-gnu-gcc
224207 steps :
225208 - uses : actions/checkout@v4
209+ with :
210+ persist-credentials : false
226211 - name : Install 32-bit build dependencies
227212 run : |
228213 sudo dpkg --add-architecture i386 && \
0 commit comments