ref:main

test cancelled

Command: set -e apt-get update && apt-get install -y --no-install-recommends git git config --global --add safe.directory /workspace git config --global init.defaultBranch main git config --global user.email "ci@anvil.test" git config --global user.name "CI" export MIX_HOME=/workspace/.mix mix test --cover --export-coverage default mix run --no-start -e ' tools_ebin = Path.wildcard("/usr/local/lib/erlang/lib/tools-*/ebin") |> List.first() if tools_ebin, do: Code.append_path(tools_ebin) :cover.start() :cover.import(~c"cover/default.coverdata") modules = :cover.imported_modules() lcov = Enum.map_join(modules, "", fn mod -> case :cover.analyse(mod, :calls, :line) do {:ok, lines} -> source = try do mod.module_info(:compile)[:source] |> to_string() |> String.replace(File.cwd!() <> "/", "") rescue _ -> nil end if source do data = Enum.filter(lines, fn {{_, l}, _} -> l > 0 end) da = Enum.map_join(data, "", fn {{_, l}, c} -> "DA:#{l},#{c}\n" end) h = Enum.count(data, fn {_, c} -> c > 0 end) "SF:#{source}\n#{da}LH:#{h}\nLF:#{length(data)}\nend_of_record\n" else "" end _ -> "" end end) File.write!("cover/lcov.info", lcov) IO.puts("LCOV written to cover/lcov.info") '
Started: - Completed: Apr 19, 2026 at 15:29 UTC Duration: -

Build Output

No output yet.