1
0
Fork 0
mirror of https://github.com/pnx/neotest-phpunit synced 2026-06-16 03:54:55 +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,16 +134,15 @@ function NeotestAdapter.build_spec(args)
position.name,
})
else
debug("Position type:", position.type)
if config('is_parallel') then
command = vim.tbl_flatten({
command,
"--parallel",
"--processes=" .. config('parallel'),
})
end
end
if config('is_parallel') then
command = vim.tbl_flatten({
command,
"--parallel",
"--processes=" .. config('parallel'),
})
end
if config('compact') == true then
info("Using compact output")