Skip to content

Commit 5752eff

Browse files
committed
🔨 Correct code coverage threshold
1 parent 5b5575d commit 5752eff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎.envrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
export K_SOUP_COV_DO=true # Means you want code coverage
33
# Available formats are html, xml, rcov, lcov, json, tty
44
export K_SOUP_COV_FORMATTERS="html,tty"
5-
export K_SOUP_COV_MIN_BRANCH=71 # Means you want to enforce X% branch coverage
6-
export K_SOUP_COV_MIN_LINE=89 # Means you want to enforce X% line coverage
5+
export K_SOUP_COV_MIN_BRANCH=86 # Means you want to enforce X% branch coverage
6+
export K_SOUP_COV_MIN_LINE=91 # Means you want to enforce X% line coverage
77
export K_SOUP_COV_MIN_HARD=true # Means you want the build to fail if the coverage thresholds are not met
88
export K_SOUP_COV_MULTI_FORMATTERS=true
99
export MAX_ROWS=5 # Setting for simplecov-console gem for tty output, limits to the worst N rows of bad coverage

‎.github/workflows/coverage.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Ruby - Coverage
22

33
env:
4-
K_SOUP_COV_MIN_BRANCH: 71
5-
K_SOUP_COV_MIN_LINE: 89
4+
K_SOUP_COV_MIN_BRANCH: 86
5+
K_SOUP_COV_MIN_LINE: 91
66
K_SOUP_COV_MIN_HARD: true
77
K_SOUP_COV_DO: true
88
K_SOUP_COV_COMMAND_NAME: "MiniTest Coverage"
@@ -73,7 +73,7 @@ jobs:
7373
hide_complexity: true
7474
indicators: true
7575
output: both
76-
thresholds: '93 82'
76+
thresholds: '91 86'
7777
continue-on-error: ${{ matrix.experimental != 'false' }}
7878

7979
- name: Add Coverage PR Comment

0 commit comments

Comments
 (0)