Skip to content

Commit

Permalink
Merge pull request #78 from corka149/master
Browse files Browse the repository at this point in the history
Added GA for coveralls (issue #71)
  • Loading branch information
coryodaniel committed May 13, 2020
2 parents 40bb5ec + 191dc3f commit 7390339
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,17 @@ jobs:
elixir-version: ${{matrix.elixir}}
- run: mix deps.get
- run: mix dialyzer
# coverage:
# name: Coverage
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1.0.0
# - uses: actions/setup-elixir@v1.0.0
# with:
# otp-version: 22.x
# elixir-version: 1.9.x
# - run: mix deps.get
# - run: mix coveralls
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
coverage:
name: Coverage
runs-on: ubuntu-latest
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v1.0.0
- uses: actions/setup-elixir@v1.0.0
with:
otp-version: 22.x
elixir-version: 1.9.x
- run: mix deps.get
- run: mix coveralls.github
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ defmodule K8s.MixProject do
{:notion, "~> 0.2"},
{:telemetry, ">= 0.4.0"},

# dev/test deps
# dev/test deps (e.g. code coverage)
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.20", only: :dev},
{:excoveralls, "~> 0.10", only: :test},
{:excoveralls, "~> 0.12", only: [:test]},
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
{:stream_data, "~> 0.4", only: :test}
]
Expand Down

0 comments on commit 7390339

Please sign in to comment.