File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -32,22 +32,41 @@ jobs:
32
32
pip install -U pip
33
33
pip install -r requirements.txt pytest
34
34
35
+ - name : Install pytest-run-parallel under free-threading
36
+ if : contains(matrix.py, 't')
37
+ run : |
38
+ pip install pytest-run-parallel
39
+
35
40
- name : Build
36
41
shell : bash
37
42
run : |
38
43
make cython
39
44
pip install .
40
45
41
46
- name : Test (C extension)
47
+ if : ! contains(matrix.py, 't')
42
48
shell : bash
43
49
run : |
44
50
pytest -v test
45
51
46
52
- name : Test (pure Python fallback)
53
+ if : ! contains(matrix.py, 't')
47
54
shell : bash
48
55
run : |
49
56
MSGPACK_PUREPYTHON=1 pytest -v test
50
57
58
+ - name : Test (C extension) in parallel under free-threading
59
+ if : contains(matrix.py, 't')
60
+ shell : bash
61
+ run : |
62
+ pytest -v --parallel-threads=auto --iterations=20 test
63
+
64
+ - name : Test (pure Python fallback) in parallel under free-threading
65
+ if : contains(matrix.py, 't')
66
+ shell : bash
67
+ run : |
68
+ MSGPACK_PUREPYTHON=1 pytest -v --parallel-threads=auto --iterations=20 test
69
+
51
70
- name : build packages
52
71
shell : bash
53
72
run : |
You can’t perform that action at this time.
0 commit comments