Codecov Elixir Example

Build Status codecov

This repository serves as an example on how to use Codecov Global for Elixir.

Mix.exs

Add excoveralls to your mix.exs deps.

Circle CI

Add to your .circleci/config.yml file.

# Check https://circleci.com/docs/2.0/language-elixir/ for more details
version: 2.1
orbs:
  codecov: codecov/codecov@1.0.2

jobs:
  test:
    docker:
      - image: circleci/elixir:1.11.2
    steps:
      - checkout
      - run: mix do compile --warnings-as-errors, coveralls.json
      - codecov/upload:
        file: "./coveralls.json"
        token: "f0ab5451-efeb-4c8a-8f45-5f699c9db5ce"

View source and learn more about Codecov Global Uploader

We are happy to help if you have any questions. Please contact email our Support at support@codecov.io