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:
3232 pip install -U pip
3333 pip install -r requirements.txt pytest
3434
35+ - name : Install pytest-run-parallel under free-threading
36+ if : contains(matrix.py, 't')
37+ run : |
38+ pip install pytest-run-parallel
39+
3540 - name : Build
3641 shell : bash
3742 run : |
3843 make cython
3944 pip install .
4045
4146 - name : Test (C extension)
47+ if : ! contains(matrix.py, 't')
4248 shell : bash
4349 run : |
4450 pytest -v test
4551
4652 - name : Test (pure Python fallback)
53+ if : ! contains(matrix.py, 't')
4754 shell : bash
4855 run : |
4956 MSGPACK_PUREPYTHON=1 pytest -v test
5057
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+
5170 - name : build packages
5271 shell : bash
5372 run : |
You can’t perform that action at this time.
0 commit comments