Skip to content

Commit a9717e4

Browse files
committed
💚 Set minimum line & branch coverage to 100 / 96
1 parent b1ae025 commit a9717e4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.envrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export K_SOUP_COV_DO=true # Means you want code coverage
2121
export K_SOUP_COV_COMMAND_NAME="Test Coverage"
2222
# Available formats are html, xml, rcov, lcov, json, tty
2323
export K_SOUP_COV_FORMATTERS="html,xml,rcov,lcov,json,tty"
24-
export K_SOUP_COV_MIN_BRANCH=80 # Means you want to enforce X% branch coverage
25-
export K_SOUP_COV_MIN_LINE=96 # Means you want to enforce X% line coverage
24+
export K_SOUP_COV_MIN_BRANCH=96 # Means you want to enforce X% branch coverage
25+
export K_SOUP_COV_MIN_LINE=100 # Means you want to enforce X% line coverage
2626
export K_SOUP_COV_MIN_HARD=true # Means you want the build to fail if the coverage thresholds are not met
2727
export K_SOUP_COV_MULTI_FORMATTERS=true
2828
export K_SOUP_COV_OPEN_BIN= # Means don't try to open coverage results in browser

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66
id-token: write
77

88
env:
9-
K_SOUP_COV_MIN_BRANCH: 100
9+
K_SOUP_COV_MIN_BRANCH: 96
1010
K_SOUP_COV_MIN_LINE: 100
1111
K_SOUP_COV_MIN_HARD: true
1212
K_SOUP_COV_FORMATTERS: "xml,rcov,lcov,tty"
@@ -115,7 +115,7 @@ jobs:
115115
hide_complexity: true
116116
indicators: true
117117
output: both
118-
thresholds: '100 100'
118+
thresholds: '100 96'
119119
continue-on-error: ${{ matrix.experimental != 'false' }}
120120

121121
- name: Add Coverage PR Comment

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ variables:
2222
K_SOUP_COV_DEBUG: true
2323
K_SOUP_COV_DO: true
2424
K_SOUP_COV_HARD: true
25-
K_SOUP_COV_MIN_BRANCH: 100
25+
K_SOUP_COV_MIN_BRANCH: 96
2626
K_SOUP_COV_MIN_LINE: 100
2727
K_SOUP_COV_VERBOSE: true
2828
K_SOUP_COV_FORMATTERS: "tty"

0 commit comments

Comments
 (0)