File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ jobs:
2828 - name : Run tests and collect coverage
2929 run : |
3030 # Replace with the actual command to run your tests
31- npm run test-with-coverage
31+ npm test
3232 continue-on-error : true
3333
3434 - name : Upload coverage report to Codacy
3535 env :
3636 CODACY_PROJECT_TOKEN : ${{ secrets.CODACY_PROJECT_TOKEN }}
3737 run : |
38- bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r $GITHUB_WORKSPACE/lcov.info
38+ bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r $GITHUB_WORKSPACE/coverage/ lcov.info
3939
4040 - name : Run Codacy Analysis CLI with Docker (optional)
4141 run : |
4949 codacy/codacy-analysis-cli \
5050 analyze --tool eslint --upload --project-token ${{ secrets.CODACY_PROJECT_TOKEN }} --max-allowed-issues 99999 --commit-uuid $GITHUB_SHA
5151 if : success() # Optional, run only if the previous steps were successful
52-
52+
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test-with-coverage " : " nyc --reporter= lcov --reporter=text-summary jest "
7+ "test" : " mocha --require blanket -R mocha- lcov-reporter --reporter-options output=coverage tests/**/*.js "
88 },
99 "keywords" : [],
1010 "author" : " " ,
You can’t perform that action at this time.
0 commit comments