@@ -26,37 +26,27 @@ jobs:
26
26
fail-fast : false
27
27
matrix :
28
28
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
35
32
python : ' 3.8'
36
33
arch : x64
37
34
os : ubuntu-latest
38
35
toxenv : py
39
36
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'
48
40
arch : x64
49
- os : ubuntu -latest
50
- toxenv : py
41
+ os : windows -latest
42
+ toxenv : py38
51
43
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'
55
46
arch : x64
56
47
os : ubuntu-latest
57
48
toxenv : py
58
49
tox_extra_args : " -n 2"
59
- test_mypyc : true
60
50
- name : Test suite with py310-ubuntu
61
51
python : ' 3.10'
62
52
arch : x64
@@ -70,29 +60,32 @@ jobs:
70
60
toxenv : py
71
61
tox_extra_args : " -n 2"
72
62
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'
75
66
arch : x64
76
67
os : macos-latest
77
68
toxenv : py
78
69
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 '
81
72
arch : x64
82
73
os : ubuntu-latest
83
74
toxenv : py
84
75
tox_extra_args : " -n 2 mypyc/test/test_run.py mypyc/test/test_external.py"
85
76
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'
88
80
arch : x64
89
81
os : ubuntu-latest
90
82
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 '
93
85
arch : x64
94
86
os : windows-latest
95
87
toxenv : type
88
+
96
89
# We also run these checks with pre-commit in CI,
97
90
# but it's useful to run them with tox too,
98
91
# to ensure the tox env works as expected
0 commit comments