Last active
October 11, 2019 20:00
-
-
Save batate/fd9e7569b3861a80a0b3 to your computer and use it in GitHub Desktop.
coveralls elixir setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Chat.Mixfile do | |
defp deps do | |
[{:excoveralls, only: :test}] | |
end | |
defp test(args) do | |
... | |
Mix.Task.run("test") | |
Mix.shell.info("") | |
Mix.shell.info("$ mix coveralls - coverage overview") | |
Mix.shell.info("$ mix coveralls.detail FILENAME - line-by-line coverage of file") | |
end | |
defp cli_env do | |
[coveralls: :test, | |
"coveralls.detail": :test] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment