@@ -26,37 +26,27 @@ jobs:
2626 fail-fast : false
2727 matrix :
2828 include :
29- - name : Test suite with py37-windows-64
30- python : ' 3.7'
31- arch : x64
32- os : windows-latest
33- toxenv : py37
34- - name : Test suite with py38-ubuntu
29+ # Make sure to run mypyc compiled unit tests for both
30+ # the oldest and newest supported Python versions
31+ - name : Test suite with py38-ubuntu, mypyc-compiled
3532 python : ' 3.8'
3633 arch : x64
3734 os : ubuntu-latest
3835 toxenv : py
3936 tox_extra_args : " -n 2"
40- - name : Test suite with py39-ubuntu
41- python : ' 3.9'
42- arch : x64
43- os : ubuntu-latest
44- toxenv : py
45- tox_extra_args : " -n 2"
46- - name : Test suite with py37-ubuntu, mypyc-compiled
47- python : ' 3.7'
37+ test_mypyc : true
38+ - name : Test suite with py38-windows-64
39+ python : ' 3.8'
4840 arch : x64
49- os : ubuntu -latest
50- toxenv : py
41+ os : windows -latest
42+ toxenv : py38
5143 tox_extra_args : " -n 2"
52- test_mypyc : true
53- - name : Test suite with py310-ubuntu, mypyc-compiled
54- python : ' 3.10'
44+ - name : Test suite with py39-ubuntu
45+ python : ' 3.9'
5546 arch : x64
5647 os : ubuntu-latest
5748 toxenv : py
5849 tox_extra_args : " -n 2"
59- test_mypyc : true
6050 - name : Test suite with py310-ubuntu
6151 python : ' 3.10'
6252 arch : x64
@@ -70,29 +60,32 @@ jobs:
7060 toxenv : py
7161 tox_extra_args : " -n 2"
7262 test_mypyc : true
73- - name : mypyc runtime tests with py37-macos
74- python : ' 3.7'
63+
64+ - name : mypyc runtime tests with py38-macos
65+ python : ' 3.8.17'
7566 arch : x64
7667 os : macos-latest
7768 toxenv : py
7869 tox_extra_args : " -n 2 mypyc/test/test_run.py mypyc/test/test_external.py"
79- - name : mypyc runtime tests with py37 -debug-build-ubuntu
80- python : ' 3.7.13 '
70+ - name : mypyc runtime tests with py38 -debug-build-ubuntu
71+ python : ' 3.8.17 '
8172 arch : x64
8273 os : ubuntu-latest
8374 toxenv : py
8475 tox_extra_args : " -n 2 mypyc/test/test_run.py mypyc/test/test_external.py"
8576 debug_build : true
86- - name : Type check our own code (py37-ubuntu)
87- python : ' 3.7'
77+
78+ - name : Type check our own code (py38-ubuntu)
79+ python : ' 3.8'
8880 arch : x64
8981 os : ubuntu-latest
9082 toxenv : type
91- - name : Type check our own code (py37 -windows-64)
92- python : ' 3.7 '
83+ - name : Type check our own code (py38 -windows-64)
84+ python : ' 3.8 '
9385 arch : x64
9486 os : windows-latest
9587 toxenv : type
88+
9689 # We also run these checks with pre-commit in CI,
9790 # but it's useful to run them with tox too,
9891 # to ensure the tox env works as expected
0 commit comments