Skip to content

Commit

Permalink
Merge pull request #25 from ufirstgroup/codecov
Browse files Browse the repository at this point in the history
Switch To Codecov
  • Loading branch information
Michael Ruoss authored Apr 26, 2021
2 parents 426b3ba + 0f3f962 commit 0169977
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ jobs:
run: mix credo --strict

- name: Run Coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mix coveralls.github
run: mix coveralls.json

- name: Upload coverage
uses: codecov/codecov-action@v1
with:
files: ./cover/excoveralls.json

- name: Run dialyzer
run: |
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elixir 1.11.4-otp-23
erlang 23.1.1
erlang 23.2.5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ymlr - A YAML encoder for Elixir.

[![Build Status](https://github.com/ufirstgroup/ymlr/workflows/CI/badge.svg)](https://github.com/ufirstgroup/ymlr/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/github/ufirstgroup/ymlr/badge.svg?branch=master)](https://coveralls.io/github/ufirstgroup/ymlr?branch=master)
[![codecov](https://codecov.io/gh/ufirstgroup/ymlr/branch/master/graph/badge.svg?token=DSLGDW6KS9)](https://codecov.io/gh/ufirstgroup/ymlr)
[![Hex.pm](http://img.shields.io/hexpm/v/ymlr.svg?style=flat)](https://hex.pm/packages/ymlr)
[![Documentation](https://img.shields.io/badge/documentation-on%20hexdocs-green.svg)](https://hexdocs.pm/ymlr/)
![Hex.pm](https://img.shields.io/hexpm/l/ymlr.svg?style=flat)
Expand Down
2 changes: 2 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ defmodule Ymlr.MixProject do
"coveralls.html": :test,
"coveralls.travis": :test,
"coveralls.github": :test,
"coveralls.xml": :test,
"coveralls.json": :test,
]
end

Expand Down

0 comments on commit 0169977

Please sign in to comment.