Skip to content

Commit d5ab88c

Browse files
Added a step to combine all the code coverage files from each browser into a single file to send to Coveralls
1 parent a35d9aa commit d5ab88c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ jobs:
5858
- name: Run JavaScript tests
5959
run: npm run coverage
6060

61+
- name: Combine code coverage data into a single file
62+
run: |
63+
ls -Rlh coverage/*/lcov.info
64+
cat coverage/*/lcov.info > ./coverage/lcov.info
65+
6166
- name: Send code coverage results to Coveralls
6267
uses: coverallsapp/github-action@v1.0.1
6368
with:

0 commit comments

Comments
 (0)