1
0
Fork 0
mirror of https://github.com/pnx/neotest-phpunit synced 2026-07-02 11:43:39 +02:00

Only supply --parallel when not running a specific test

This commit is contained in:
V13Axel 2024-02-19 14:28:55 -05:00
parent ad809aa6f5
commit 27f11cc81c

View file

@ -134,9 +134,6 @@ function NeotestAdapter.build_spec(args)
position.name, position.name,
}) })
else else
debug("Position type:", position.type)
end
if config('is_parallel') then if config('is_parallel') then
command = vim.tbl_flatten({ command = vim.tbl_flatten({
command, command,
@ -144,6 +141,8 @@ function NeotestAdapter.build_spec(args)
"--processes=" .. config('parallel'), "--processes=" .. config('parallel'),
}) })
end end
end
if config('compact') == true then if config('compact') == true then
info("Using compact output") info("Using compact output")