We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edb0aac commit fa6c95aCopy full SHA for fa6c95a
1 file changed
.github/workflows/unittest.yml
@@ -19,4 +19,14 @@ jobs:
19
- name: Install dependencies
20
run: npm install --force
21
- name: Run unit tests
22
- run: npm run unittest
+ run: npm run unittest
23
+ - name: Generate coverage report
24
+ run: npm run coverage
25
+ - name: Coverage report
26
+ uses: saschanowak/CloverCodeCoverageSummary@1.1.0
27
+ with:
28
+ filename: ./coverage/clover.xml
29
+ - name: 'Add Code Coverage to Job Summary'
30
+ run: |
31
+ cat code-coverage-summary.md >> $GITHUB_STEP_SUMMARY
32
+ cat code-coverage-details.md >> $GITHUB_STEP_SUMMARY
0 commit comments