Skip to content

Commit 5ba770f

Browse files
committed
resolving empty coverage
1 parent 3afa9c9 commit 5ba770f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/codacy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
4242
run: |
4343
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r $GITHUB_WORKSPACE/lcov.info
44+
continue-on-error: true
4445

4546
- name: Run Codacy Analysis CLI with Docker (optional)
4647
run: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha --require blanket __tests__/*.js && nyc report --reporter=text-lcov > $GITHUB_WORKSPACE/lcov.info"
7+
"test": "mocha --require blanket __tests__/*.js && nyc --report-dir=$GITHUB_WORKSPACE nyc report --reporter=text-lcov > $GITHUB_WORKSPACE/lcov.info"
88
},
99
"keywords": [],
1010
"author": "",

0 commit comments

Comments
 (0)