From 350122d1162e8829cd8f24392c12423d3befff14 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Wed, 6 Apr 2022 14:22:53 -0400 Subject: [PATCH] improvement: remove coverage from CI --- .github/workflows/elixir.yml | 26 -------------------------- README.md | 1 - mix.exs | 7 ------- mix.lock | 1 - 4 files changed, 35 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index cd0d87ba..40006223 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -46,32 +46,6 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') - run: mix check if: "!startsWith(github.ref, 'refs/tags/v')" - coverage: - needs: [build] - runs-on: ubuntu-latest - name: Report Test Coverage - strategy: - matrix: - otp: ["23"] - elixir: ["1.13.1"] - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - run: sudo apt-get install --yes erlang-dev - - uses: actions/checkout@v2 - - uses: actions/setup-elixir@v1.5 - with: - experimental-otp: true - otp-version: ${{matrix.otp}} - elixir-version: ${{matrix.elixir}} - - uses: actions/cache@v1 - id: cache-deps - with: - path: deps - key: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} - restore-keys: otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2- - - run: mix deps.get - - run: mix coveralls.github release: needs: [build] if: startsWith(github.ref, 'refs/tags/v') diff --git a/README.md b/README.md index bb95787f..3eb7a3ca 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ ![Logo](https://github.com/ash-project/ash/blob/main/logos/cropped-for-header.png?raw=true) ![Elixir CI](https://github.com/ash-project/ash/workflows/Ash%20CI/badge.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![Coverage Status](https://coveralls.io/repos/github/ash-project/ash/badge.svg?branch=main)](https://coveralls.io/github/ash-project/ash?branch=main) [![Hex version badge](https://img.shields.io/hexpm/v/ash.svg)](https://hex.pm/packages/ash) ## Documentation diff --git a/mix.exs b/mix.exs index a0ddf171..b9c83a57 100644 --- a/mix.exs +++ b/mix.exs @@ -20,12 +20,6 @@ defmodule Ash.MixProject do package: package(), deps: deps(), dialyzer: [plt_add_apps: [:mix, :mnesia]], - test_coverage: [tool: ExCoveralls], - preferred_cli_env: [ - coveralls: :test, - "coveralls.github": :test, - "coveralls.html": :test - ], xref: [exclude: [:mnesia]], docs: docs(), aliases: aliases(), @@ -210,7 +204,6 @@ defmodule Ash.MixProject do {:dialyxir, ">= 0.0.0", only: :dev, runtime: false}, {:sobelow, ">= 0.0.0", only: :dev, runtime: false}, {:git_ops, "~> 2.4.4", only: :dev}, - {:excoveralls, "~> 0.13.0", only: [:dev, :test]}, {:mix_test_watch, "~> 1.0", only: :dev, runtime: false}, {:parse_trans, "3.3.0", only: [:dev, :test], override: true}, {:elixir_sense, github: "elixir-lsp/elixir_sense", only: [:dev, :test]} diff --git a/mix.lock b/mix.lock index d8d5fd0d..4f37a6b3 100644 --- a/mix.lock +++ b/mix.lock @@ -15,7 +15,6 @@ "ets": {:hex, :ets, "0.8.1", "8ff9bcda5682b98493f8878fc9dbd990e48d566cba8cce59f7c2a78130da29ea", [:mix], [], "hexpm", "6be41b50adb5bc5c43626f25ea2d0af1f4a242fb3fad8d53f0c67c20b78915cc"}, "ex_check": {:hex, :ex_check, "0.12.0", "c0e2919ecc06afeaf62c52d64f3d91bd4bc7dd8deaac5f84becb6278888c967a", [:mix], [], "hexpm", "cfafa8ef97c2596d45a1f19b5794cb5c7f700f25d164d3c9f8d7ec17ee67cf42"}, "ex_doc": {:hex, :ex_doc, "0.24.2", "e4c26603830c1a2286dae45f4412a4d1980e1e89dc779fcd0181ed1d5a05c8d9", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "e134e1d9e821b8d9e4244687fb2ace58d479b67b282de5158333b0d57c6fb7da"}, - "excoveralls": {:hex, :excoveralls, "0.13.4", "7b0baee01fe150ef81153e6ffc0fc68214737f54570dc257b3ca4da8e419b812", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "faae00b3eee35cdf0342c10b669a7c91f942728217d2a7c7f644b24d391e6190"}, "file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"}, "getopt": {:hex, :getopt, "1.0.1", "c73a9fa687b217f2ff79f68a3b637711bb1936e712b521d8ce466b29cbf7808a", [:rebar3], [], "hexpm", "53e1ab83b9ceb65c9672d3e7a35b8092e9bdc9b3ee80721471a161c10c59959c"}, "gettext": {:hex, :gettext, "0.18.2", "7df3ea191bb56c0309c00a783334b288d08a879f53a7014341284635850a6e55", [:mix], [], "hexpm", "f9f537b13d4fdd30f3039d33cb80144c3aa1f8d9698e47d7bcbcc8df93b1f5c5"},