summaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-09-03 04:57:53 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-09-03 05:03:50 +0200
commitbe411ad3bcc9443f7562273508f9beadd099492b (patch)
treeeace5f8c9980d6b16f59c30ac9114a016ef9a6dc /mix.exs
parent299255b9bb2fe9692fda724cbad700e36fa7d5bb (diff)
Test coverage: Switch to covertool to get cobertura outputci-coverage
This allows to have coverage information integrated into Gitlab
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs6
1 files changed, 2 insertions, 4 deletions
diff --git a/mix.exs b/mix.exs
index 6e84fe482..77e4c19ad 100644
--- a/mix.exs
+++ b/mix.exs
@@ -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/",
@@ -207,8 +206,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},
{:websocket_client, git: "https://github.com/jeremyong/websocket_client.git", only: :test}