chore: Add coverage reporting #5
coverage.yml
on: pull_request
Matrix: Test Coverage
Report Coverage
4s
Annotations
2 errors and 1 warning
Report Coverage
Failed to parse the json-summary at path "/home/runner/work/namesake/namesake/coverage-main/coverage-summary.json."
Make sure to run vitest before this action and to include the "json-summary" reporter.
Original Error:
Error: ENOENT: no such file or directory, open '/home/runner/work/namesake/namesake/coverage-main/coverage-summary.json'
at async open (node:internal/fs/promises:636:25)
at async readFile (node:internal/fs/promises:1246:14)
at async ay (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2.5.1/dist/index.js:70:800)
at async uu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2.5.1/dist/index.js:70:881)
at async Uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2.5.1/dist/index.js:148:2052)
|
Report Coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/namesake/namesake/coverage-main/coverage-summary.json'
|
Report Coverage
Failed to read vite config file at any default location in "./".
Make sure you provide the vite-config-path option if you're using a non-default location or name of your config file.
Will not include thresholds in the final report.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-coverage
Expired
|
19.6 KB |
|
coverage-main
Expired
|
219 KB |
|