-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Description
Jest has implemented Github Actions reporter as an output format, which when run in a Github Action, allows Github to then surface test errors alongside the code under review.
Many lint tools have this set up as well, it makes surfacing which tests failed and where they failed just a bit easier.
Refs:
- https://jestjs.io/docs/configuration#reporters-arraymodulename--modulename-options
- https://github.com/jestjs/jest/blob/main/packages/jest-reporters/src/GitHubActionsReporter.ts
- https://jestjs.io/blog/2022/04/25/jest-28#github-actions-reporter
- feat: Add GitHub Actions Reporter jestjs/jest#11320
- Show failing tests in the GitHub UI using Problem Matchers jestjs/jest#10309
- https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md
- Minimal example: https://github.com/stefanbuck/jest-matcher/pull/2/files
chrisxaustin
Metadata
Metadata
Assignees
Labels
No labels