diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml
index 67d8360004..722f60c84c 100644
--- a/.github/workflows/config.yml
+++ b/.github/workflows/config.yml
@@ -410,68 +410,6 @@ jobs:
cd apps/block_scout_web
mix test --no-start --exclude no_parity
env:
- # match POSTGRES_PASSWORD for postgres image below
- PGPASSWORD: postgres
- # match POSTGRES_USER for postgres image below
- PGUSER: postgres
- ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Parity.Mox"
- ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"
- coveralls:
- runs-on: ubuntu-18.04
- services:
- postgres:
- image: postgres
- env:
- # Match apps/explorer/config/test.exs config :explorer, Explorer.Repo, database
- POSTGRES_DB: explorer_test
- # match PGPASSWORD for elixir image above
- POSTGRES_PASSWORD: postgres
- # match PGUSER for elixir image above
- POSTGRES_USER: postgres
- # Set health checks to wait until postgres has started
- options: >-
- --health-cmd pg_isready
- --health-interval 10s
- --health-timeout 5s
- --health-retries 5
- ports:
- # Maps tcp port 5432 on service container to the host
- - 5432:5432
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-elixir@v1
- with:
- otp-version: '23.2.7'
- elixir-version: '1.11.3'
- - run: mix local.hex --force
- - run: mix local.rebar --force
- - run: mix deps.get
- - run: npm install
- working-directory: apps/explorer
- - run: npm install
- working-directory: apps/block_scout_web/assets
- - run: npm rebuild node-sass
- working-directory: apps/block_scout_web/assets
- - run: mix compile
- - run: make
- working-directory: "deps/libsecp256k1"
- - name: Build assets
- run: node node_modules/webpack/bin/webpack.js --mode development
- working-directory: "apps/block_scout_web/assets"
- - run: ./bin/install_chrome_headless.sh
- - name: prepare DB
- run: |
- mix ecto.create --quiet
- mix ecto.migrate
- env:
- # match POSTGRES_PASSWORD for postgres image below
- PGPASSWORD: postgres
- # match POSTGRES_USER for postgres image below
- PGUSER: postgres
- - name: coveralls
- run: mix coveralls.github
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# match POSTGRES_PASSWORD for postgres image below
PGPASSWORD: postgres
# match POSTGRES_USER for postgres image below
diff --git a/README.md b/README.md
index 6aae505165..2f7c252349 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Blockchain Explorer for inspecting and analyzing EVM Chains.
-[![Blockscout](https://github.com/poanetwork/blockscout/workflows/Blockscout/badge.svg?branch=master)](https://github.com/poanetwork/blockscout/actions) [![Coverage Status](https://coveralls.io/repos/github/poanetwork/blockscout/badge.svg?branch=master)](https://coveralls.io/github/poanetwork/blockscout?branch=master) [![Join the chat at https://gitter.im/poanetwork/blockscout](https://badges.gitter.im/poanetwork/blockscout.svg)](https://gitter.im/poanetwork/blockscout?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![Blockscout](https://github.com/poanetwork/blockscout/workflows/Blockscout/badge.svg?branch=master)](https://github.com/poanetwork/blockscout/actions) [![Join the chat at https://gitter.im/poanetwork/blockscout](https://badges.gitter.im/poanetwork/blockscout.svg)](https://gitter.im/poanetwork/blockscout?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
diff --git a/apps/block_scout_web/README.md b/apps/block_scout_web/README.md
index 6d0ae03073..5f6d2d6701 100644
--- a/apps/block_scout_web/README.md
+++ b/apps/block_scout_web/README.md
@@ -32,7 +32,6 @@ You can also run IEx (Interactive Elixir): `$ iex -S mix phx.server` (This can b
* Build the assets: `cd assets && npm run build`
* Format the Elixir code: `mix format`
- * Run the test suite with coverage: `mix coveralls.html`
* Lint the Elixir code: `mix credo --strict`
* Run the dialyzer: `mix dialyzer --halt-exit-status`
* Check the Elixir code for vulnerabilities: `mix sobelow --config`
diff --git a/apps/block_scout_web/mix.exs b/apps/block_scout_web/mix.exs
index f22f24d57f..565eeb3957 100644
--- a/apps/block_scout_web/mix.exs
+++ b/apps/block_scout_web/mix.exs
@@ -20,15 +20,10 @@ defmodule BlockScoutWeb.Mixfile do
lockfile: "../../mix.lock",
package: package(),
preferred_cli_env: [
- coveralls: :test,
- "coveralls.detail": :test,
- "coveralls.post": :test,
- "coveralls.html": :test,
credo: :test,
dialyzer: :test
],
start_permanent: Mix.env() == :prod,
- test_coverage: [tool: ExCoveralls],
version: "0.0.1"
]
end
@@ -82,8 +77,6 @@ defmodule BlockScoutWeb.Mixfile do
{:ex_cldr_units, "~> 2.5"},
{:cldr_utils, "~> 2.3"},
{:ex_machina, "~> 2.1", only: [:test]},
- # Code coverage
- {:excoveralls, "~> 0.13.3"},
{:explorer, in_umbrella: true},
{:exvcr, "~> 0.10", only: :test},
# HTML CSS selectors for Phoenix controller tests
diff --git a/apps/ethereum_jsonrpc/mix.exs b/apps/ethereum_jsonrpc/mix.exs
index 2b929d937d..b518a816eb 100644
--- a/apps/ethereum_jsonrpc/mix.exs
+++ b/apps/ethereum_jsonrpc/mix.exs
@@ -19,15 +19,10 @@ defmodule EthereumJsonrpc.MixProject do
elixirc_paths: elixirc_paths(Mix.env()),
lockfile: "../../mix.lock",
preferred_cli_env: [
- coveralls: :test,
- "coveralls.detail": :test,
- "coveralls.post": :test,
- "coveralls.html": :test,
credo: :test,
dialyzer: :test
],
start_permanent: Mix.env() == :prod,
- test_coverage: [tool: ExCoveralls],
version: "0.1.0"
]
end
@@ -67,8 +62,6 @@ defmodule EthereumJsonrpc.MixProject do
{:credo, "~> 1.1", only: :test, runtime: false},
# Static Type Checking
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
- # Code coverage
- {:excoveralls, "~> 0.13.3"},
# JSONRPC HTTP Post calls
{:httpoison, "~> 1.6"},
# Decode/Encode JSON for JSONRPC
diff --git a/apps/explorer/README.md b/apps/explorer/README.md
index 2ad45d37a6..2230feff3e 100644
--- a/apps/explorer/README.md
+++ b/apps/explorer/README.md
@@ -28,7 +28,6 @@ To get BlockScout up and running locally:
### Testing
* Format the Elixir code: `$ mix format`
- * Run the test suite with coverage: `$ mix coveralls.html`
* Lint the Elixir code: `$ mix credo --strict`
* Run the dialyzer: `mix dialyzer --halt-exit-status`
* Check the Elixir code for vulnerabilities: `$ mix sobelow --config`
diff --git a/apps/explorer/mix.exs b/apps/explorer/mix.exs
index 66d8292f03..219cfd48f0 100644
--- a/apps/explorer/mix.exs
+++ b/apps/explorer/mix.exs
@@ -20,15 +20,10 @@ defmodule Explorer.Mixfile do
lockfile: "../../mix.lock",
package: package(),
preferred_cli_env: [
- coveralls: :test,
- "coveralls.detail": :test,
- "coveralls.post": :test,
- "coveralls.html": :test,
credo: :test,
dialyzer: :test
],
start_permanent: Mix.env() == :prod,
- test_coverage: [tool: ExCoveralls],
version: "0.0.1"
]
end
@@ -81,8 +76,6 @@ defmodule Explorer.Mixfile do
{:ethereum_jsonrpc, in_umbrella: true},
# Data factory for testing
{:ex_machina, "~> 2.3", only: [:test]},
- # Code coverage
- {:excoveralls, "~> 0.13.3"},
{:exvcr, "~> 0.10", only: :test},
{:httpoison, "~> 1.6"},
{:jason, "~> 1.0"},
diff --git a/apps/indexer/mix.exs b/apps/indexer/mix.exs
index caca23ef68..0681d96663 100644
--- a/apps/indexer/mix.exs
+++ b/apps/indexer/mix.exs
@@ -13,14 +13,7 @@ defmodule Indexer.MixProject do
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
lockfile: "../../mix.lock",
- preferred_cli_env: [
- coveralls: :test,
- "coveralls.detail": :test,
- "coveralls.post": :test,
- "coveralls.html": :test
- ],
start_permanent: Mix.env() == :prod,
- test_coverage: [tool: ExCoveralls],
version: "0.1.0"
]
end
@@ -50,8 +43,6 @@ defmodule Indexer.MixProject do
{:ethereum_jsonrpc, in_umbrella: true},
# RLP encoding
{:ex_rlp, "~> 0.5.2"},
- # Code coverage
- {:excoveralls, "~> 0.13.3"},
# Importing to database
{:explorer, in_umbrella: true},
# libsecp2561k1 crypto functions
diff --git a/mix.exs b/mix.exs
index af6d994668..ad27371e55 100644
--- a/mix.exs
+++ b/mix.exs
@@ -16,15 +16,10 @@ defmodule BlockScout.Mixfile do
],
elixir: "~> 1.10",
preferred_cli_env: [
- coveralls: :test,
- "coveralls.detail": :test,
- "coveralls.post": :test,
- "coveralls.html": :test,
credo: :test,
dialyzer: :test
],
start_permanent: Mix.env() == :prod,
- test_coverage: [tool: ExCoveralls],
releases: [
blockscout: [
applications: [
@@ -75,8 +70,6 @@ defmodule BlockScout.Mixfile do
{:absinthe_plug, git: "https://github.com/blockscout/absinthe_plug.git", tag: "1.5.3", override: true},
# Documentation
{:ex_doc, "~> 0.19.0", only: [:dev]},
- # Code coverage
- {:excoveralls, "~> 0.13.3"},
{:number, "~> 1.0.3"}
]
end
diff --git a/mix.lock b/mix.lock
index 2b6004ff4e..99ca3a6843 100644
--- a/mix.lock
+++ b/mix.lock
@@ -46,7 +46,6 @@
"ex_rlp": {:hex, :ex_rlp, "0.5.3", "9055bddade545ee3e734aaad62c4b4d08211834da3beb43ae269b75785909e5e", [:mix], [], "hexpm", "a755a5f8f9f66079f3ecbe021536b949077fac0df963d9e59a20321bab28722d"},
"ex_utils": {:hex, :ex_utils, "0.1.7", "2c133e0bcdc49a858cf8dacf893308ebc05bc5fba501dc3d2935e65365ec0bf3", [:mix], [], "hexpm", "66d4fe75285948f2d1e69c2a5ddd651c398c813574f8d36a9eef11dc20356ef6"},
"exactor": {:hex, :exactor, "2.2.4", "5efb4ddeb2c48d9a1d7c9b465a6fffdd82300eb9618ece5d34c3334d5d7245b1", [:mix], [], "hexpm", "1222419f706e01bfa1095aec9acf6421367dcfab798a6f67c54cf784733cd6b5"},
- "excoveralls": {:hex, :excoveralls, "0.13.3", "edc5f69218f84c2bf61b3609a22ddf1cec0fbf7d1ba79e59f4c16d42ea4347ed", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "cc26f48d2f68666380b83d8aafda0fffc65dafcc8d8650358e0b61f6a99b1154"},
"exjsx": {:hex, :exjsx, "4.0.0", "60548841e0212df401e38e63c0078ec57b33e7ea49b032c796ccad8cde794b5c", [:mix], [{:jsx, "~> 2.8.0", [hex: :jsx, repo: "hexpm", optional: false]}], "hexpm", "32e95820a97cffea67830e91514a2ad53b888850442d6d395f53a1ac60c82e07"},
"exvcr": {:hex, :exvcr, "0.12.2", "e8fc0beeb62924d3b755b2718a161b13cb4ed53311378e5e587606c15190c8ed", [:mix], [{:exactor, "~> 2.2", [hex: :exactor, repo: "hexpm", optional: false]}, {:exjsx, "~> 4.0", [hex: :exjsx, repo: "hexpm", optional: false]}, {:httpoison, "~> 1.0", [hex: :httpoison, repo: "hexpm", optional: true]}, {:httpotion, "~> 3.1", [hex: :httpotion, repo: "hexpm", optional: true]}, {:ibrowse, "4.4.0", [hex: :ibrowse, repo: "hexpm", optional: true]}, {:meck, "~> 0.8", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm", "63776555a1bd003ff60635aead47461ced1ff985c66427421ad344e317ba983c"},
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},