File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2828 - name : Run tests and collect coverage
2929 run : |
3030 # Replace with the actual command to run your tests
31- npm test
32-
33- # Generate code coverage report using nyc (Istanbul)
34- nyc report --reporter=lcov > $GITHUB_WORKSPACE/lcov.info
35- nyc report --reporter=text-summary # Display summary in the console
31+ npm run test-with-coverage
32+ continue-on-error : true
3633
3734 - name : Upload coverage report to Codacy
3835 env :
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test" : " echo \" Error: no test specified \" && exit 1 "
7+ "test-with-coverage " : " nyc --reporter=lcov --reporter=text-summary jest "
88 },
99 "keywords" : [],
1010 "author" : " " ,
You can’t perform that action at this time.
0 commit comments