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:
parent
ad809aa6f5
commit
27f11cc81c
1 changed files with 7 additions and 8 deletions
|
|
@ -134,16 +134,15 @@ function NeotestAdapter.build_spec(args)
|
||||||
position.name,
|
position.name,
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
debug("Position type:", position.type)
|
if config('is_parallel') then
|
||||||
|
command = vim.tbl_flatten({
|
||||||
|
command,
|
||||||
|
"--parallel",
|
||||||
|
"--processes=" .. config('parallel'),
|
||||||
|
})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if config('is_parallel') then
|
|
||||||
command = vim.tbl_flatten({
|
|
||||||
command,
|
|
||||||
"--parallel",
|
|
||||||
"--processes=" .. config('parallel'),
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
if config('compact') == true then
|
if config('compact') == true then
|
||||||
info("Using compact output")
|
info("Using compact output")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue