Skip to content

don't ignore min_coverage in mix coveralls.json #297

Open
@duksis

Description

@duksis

First of all - thanks for your work!

currently min_coverage option seems to only be taken into account
when using mix coveralls and mix coveralls.html tasks.

https://github.com/parroty/excoveralls/blame/b706b5da6d3a62ff51552059cf57726c6ad104e5/README.md#L426...L427

I would like to use the min_coverage option and generate a json file.

if I understand that right I would need to run my test suite twice in order to achieve both - the failure on below min_coverage and a json file.

I would prefer not to do that.

  1. Is there another way to achieve both?
  2. would it make sense to check min_coverage in mix coveralls.json?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions