Merge branch 'ci-coverage' into 'develop'

Test coverage: Switch to covertool to get cobertura output

See merge request pleroma/pleroma!3745
This commit is contained in:
tusooa 2022-11-06 02:19:27 +00:00
commit 8d704d384d
4 changed files with 11 additions and 6 deletions

View file

@ -13,8 +13,7 @@ defmodule Pleroma.Mixfile do
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls.html": :test],
test_coverage: [tool: :covertool, summary: true],
# Docs
name: "Pleroma",
homepage_url: "https://pleroma.social/",
@ -208,8 +207,7 @@ defmodule Pleroma.Mixfile do
{:ex_machina, "~> 2.4", only: :test},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:mock, "~> 0.3.5", only: :test},
# temporary downgrade for excoveralls, hackney until hackney max_connections bug will be fixed
{:excoveralls, "0.12.3", only: :test},
{:covertool, "~> 2.0", only: :test},
{:hackney, "~> 1.18.0", override: true},
{:mox, "~> 1.0", only: :test},
{:websockex, "~> 0.4.3", only: :test}