We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1944e88 commit d57eb61Copy full SHA for d57eb61
.github/workflows/check-test.yaml
@@ -104,3 +104,17 @@ jobs:
104
- name: Run Tests
105
run: npm run test-ci -- --stream
106
shell: bash
107
+
108
+ - name: Report Coverage
109
+ if: ${{ runner.os == 'Linux' }}
110
+ run: |
111
+ curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz -C /usr/local/bin
112
+ coverage_reports=(ls packages/*/coverage/lcov.info)
113
+ for report in "${coverage_reports[@]}"; do
114
+ flag_name=$(sed -E 's/packages\/([^\/]*)\/coverage\/lcov.info/\1/g' <<< $report)
115
+ coverage report --base-path . --job-flag=$flag_name $report
116
+ done
117
+ env:
118
+ COVERALLS_GIT_BRANCH: ${{ github.head_ref || github.ref_name }}
119
+ COVERALLS_REPO_TOKEN: ${{ github.token }}
120
+ COVERALLS_GIT_COMMIT: ${{ github.sha }}
0 commit comments