@@ -26,37 +26,26 @@ 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"
37
+ test_mypyc : true
38
+ - name : Test suite with py38-windows-64
39
+ python : ' 3.8'
40
+ arch : x64
41
+ os : windows-latest
42
+ toxenv : py38
40
43
- name : Test suite with py39-ubuntu
41
44
python : ' 3.9'
42
45
arch : x64
43
46
os : ubuntu-latest
44
47
toxenv : py
45
48
tox_extra_args : " -n 2"
46
- - name : Test suite with py37-ubuntu, mypyc-compiled
47
- python : ' 3.7'
48
- arch : x64
49
- os : ubuntu-latest
50
- toxenv : py
51
- tox_extra_args : " -n 2"
52
- test_mypyc : true
53
- - name : Test suite with py310-ubuntu, mypyc-compiled
54
- python : ' 3.10'
55
- arch : x64
56
- os : ubuntu-latest
57
- toxenv : py
58
- tox_extra_args : " -n 2"
59
- test_mypyc : true
60
49
- name : Test suite with py310-ubuntu
61
50
python : ' 3.10'
62
51
arch : x64
@@ -70,29 +59,32 @@ jobs:
70
59
toxenv : py
71
60
tox_extra_args : " -n 2"
72
61
test_mypyc : true
73
- - name : mypyc runtime tests with py37-macos
74
- python : ' 3.7'
62
+
63
+ - name : mypyc runtime tests with py38-macos
64
+ python : ' 3.8.17'
75
65
arch : x64
76
66
os : macos-latest
77
67
toxenv : py
78
68
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 '
69
+ - name : mypyc runtime tests with py38 -debug-build-ubuntu
70
+ python : ' 3.8 '
81
71
arch : x64
82
72
os : ubuntu-latest
83
73
toxenv : py
84
74
tox_extra_args : " -n 2 mypyc/test/test_run.py mypyc/test/test_external.py"
85
75
debug_build : true
86
- - name : Type check our own code (py37-ubuntu)
87
- python : ' 3.7'
76
+
77
+ - name : Type check our own code (py38-ubuntu)
78
+ python : ' 3.8'
88
79
arch : x64
89
80
os : ubuntu-latest
90
81
toxenv : type
91
- - name : Type check our own code (py37 -windows-64)
92
- python : ' 3.7 '
82
+ - name : Type check our own code (py38 -windows-64)
83
+ python : ' 3.8 '
93
84
arch : x64
94
85
os : windows-latest
95
86
toxenv : type
87
+
96
88
# We also run these checks with pre-commit in CI,
97
89
# but it's useful to run them with tox too,
98
90
# to ensure the tox env works as expected
0 commit comments