Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.

Commit 4688b57

Browse files
committed
allow configuration of minimum coverage
1 parent 4a99647 commit 4688b57

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a
66
Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## 0.0.5 - 2020-09-04
10+
11+
### Added
12+
13+
- The minimum coveralls coverage can now be configured
14+
915
## 0.0.4 - 2020-08-27
1016

1117
### Changed

lib/harness_dotfiles.ex

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ defmodule HarnessDotfiles do
66
@behaviour Harness.Pkg
77

88
defstruct coveralls_skip_files: ["^test", "^deps", "^.harness"],
9+
coveralls_minimum_coverage: 100,
910
explicit_credo_checks: [],
1011
excluded_paths_for_modulename_matches_filename: [],
1112
asdf_elixir_version: "1.10.4-otp-22",

templates/coveralls.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"coverage_options": {
3-
"minimum_coverage": 100,
3+
"minimum_coverage": <%= @coveralls_minimum_coverage %>,
44
"treat_no_relevant_lines_as_covered" : true
55
},
66
"terminal_options": {

0 commit comments

Comments
 (0)