File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 56
56
- name : Install python quality tools
57
57
run : |
58
58
pipx install pytest
59
- pipx inject pytest pytest-forked
60
- pipx inject pytest hypothesis
59
+ pipx inject pytest pytest-xdist hypothesis
61
60
pipx install mypy
62
61
pipx install black
63
62
echo "/opt/pipx_bin" >> $GITHUB_PATH
Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ function(add_python_test_target name)
245
245
set (include_dirs_arg --include_dirs ${include_dirs} )
246
246
endif ()
247
247
set (target_test_command
248
- env "PYTHONPYCACHEPREFIX=${CMAKE_BINARY_DIR} /__pycache__" pytest
249
- --forked -o "cache_dir=${CMAKE_BINARY_DIR} /.pytest_cache"
248
+ env "PYTHONPYCACHEPREFIX=${CMAKE_BINARY_DIR} /__pycache__" pytest -n
249
+ auto -o "cache_dir=${CMAKE_BINARY_DIR} /.pytest_cache"
250
250
--rootdir=${CMAKE_SOURCE_DIR} -s ${UNIT_FILES} ${include_files_arg}
251
251
${include_dirs_arg} ${UNIT_EXTRA_ARGS} )
252
252
You can’t perform that action at this time.
0 commit comments