Skip to content

Commit

Permalink
Merge pull request #236 from AndrewDryga/patch-1
Browse files Browse the repository at this point in the history
Explain that skip_files should be valid elixir regexes
  • Loading branch information
parroty authored Nov 28, 2020
2 parents a02a273 + af6bb45 commit 8df12f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ If you want to exclude/ignore files from the coverage calculation add the `skip_
}
```

Path should contain a string that can be compiled to Elixir regex, you can test them running `Regex.compile("your_path")` in your `iex` shell.

Note that this doesn't work directly in an umbrella project. If you need to exclude files within an app, you should create a separate `coveralls.json` at the root of the app's folder and add a `skip_files` key to _that_ file. Paths should be relative to that file, not the umbrella project.

#### Terminal Report Output
Expand Down

0 comments on commit 8df12f6

Please sign in to comment.