mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-05 03:53:11 -05:00
fix(ci): create output dir before writing ginkgo logs
The previous commit added per-root log files but forgot to create the output directory before the first ginkgo invocation. On CI the coverage/ dir did not exist yet, so the shell redirect to cover-pkg.out.log failed with "No such file or directory" before ginkgo even ran. Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 file changed
+1
@@ -29,6 +29,7 @@ shift 3
|
||||
unit_roots="$*"
|
||||
|
||||
fail=0
|
||||
mkdir -p "$out_dir"
|
||||
|
||||
# Build flags shared by every ginkgo invocation. We store them as a
|
||||
# newline-delimited list in $build_flags_list so we can iterate without
|
||||
|
||||
Reference in new issue
Block a user