-
-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve output in github actions for jest tests #3269
Conversation
@@ -122,28 +122,12 @@ | |||
"prettier": "2.8.7", | |||
"rimraf": "^4.0.0", | |||
"terser": "^5.5.1", | |||
"ts-node": "^10.9.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is needed to support having a jest config file in typescript
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TS FTW
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Configure the Github Actions Reporter with silent: false, keeping it from swallowing failure reasons. Much the same as matrix-org/matrix-js-sdk#3269.
Two functional changes here:
silent: false
for the GitHub Actions Reporter, which stops it swallowing failure reasons (otherwise it only puts it in an annotation)summary
reporter, which makes it easier to see why a test run as a whole failed.Setting
silent: false
requires us to use a config file, and using a config file overrides the config frompackage.json
. So in the end it's easier just to have one config file with some intelligence for whether we are in GHA or not.This change is marked as an internal change (Task), so will not be included in the changelog.