Skip to content

Commit db33fa1

Browse files
committed
👷 add code coverage check step in test.yml
1 parent 9616a5c commit db33fa1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

+6
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ jobs:
9595
slug: techouse/qs
9696
files: ./coverage/lcov.info
9797
verbose: true
98+
- name: Check Code Coverage
99+
if: ${{ matrix.platform == 'vm' }}
100+
uses: VeryGoodOpenSource/very_good_coverage@v3.0.0
101+
with:
102+
path: coverage/lcov.info
103+
min_coverage: 90
98104
- name: Upload coverage to Codacy
99105
if: ${{ matrix.platform == 'vm' }}
100106
uses: codacy/codacy-coverage-reporter-action@v1

0 commit comments

Comments
 (0)