Mark test run check as succeded #354
test.yml
on: pull_request_target
Coverage report
1m 6s
Annotations
4 errors and 2 warnings
formatFailedTestsAnnotations > should return only 50 annotations:
tests/format/annotations/formatFailedTestsAnnotations.test.ts#L108
Error: expect(received).toMatchSnapshot()
Snapshot name: `formatFailedTestsAnnotations should return only 50 annotations 1`
- Snapshot - 3
+ Received + 3
@@ -396,13 +396,13 @@
"start_line": 30,
"title": "test > lol > a",
},
],
"summary": "Some summary",
- "text": "Created failed tests' annotations. To disable them, see [documentation](https://github.com/ArtiomTr/jest-coverage-report-action#jest-coverage-report-).
- Failures
- 3 annotations hidden. Only 50 can be displayed at once.",
+ "text": "3 annotations hidden. Only 50 can be displayed at once.
+ Created failed tests' annotations. To disable them, see [documentation](https://github.com/ArtiomTr/jest-coverage-report-action#jest-coverage-report-).
+ Failures",
"title": "Test suite run failed",
},
"owner": "test-bot",
"repo": "test",
"status": "completed",
at Object.<anonymous> (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/tests/format/annotations/formatFailedTestsAnnotations.test.ts:129:11)
at Promise.then.completed (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/node_modules/jest-circus/build/utils.js:316:10)
at _callCircusTest (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/node_modules/jest-circus/build/run.js:218:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/node_modules/jest-circus/build/run.js:155:3)
at _runTestsForDescribeBlock (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/node_modules/jest-circus/build/run.js:66:9)
at _runTestsForDescribeBlock (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/node_modules/jest-circus/build/run.js:60:9)
at run (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/node_modules/jest-circus/build/run.js:25:3)
|
Coverage report
Error: The process '/usr/local/bin/npm' failed with exit code 1
Error: The process '/usr/local/bin/npm' failed with exit code 1
at wd._setResult (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/dist/index.js:21:19186)
at wd.CheckComplete (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/dist/index.js:21:18773)
at ChildProcess.<anonymous> (/home/runner/work/jest-coverage-report-action/jest-coverage-report-action/dist/index.js:21:17765)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
|
Coverage report
Jest coverage report action failed
|
Coverage report
Process completed with exit code 1.
|
Coverage report
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Coverage report
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|