-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: update test reporting default (QE-251) #445
Conversation
Enable test reporting by default when `GITHUB_ACTIONS` environment variable defined
@@ -215,8 +217,6 @@ export class WTRConfig { | |||
}); | |||
} | |||
|
|||
testReporting = !!testReporting || this.#cliArgs['test-reporting']; |
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.
What's the end result going to be for a random repo that didn't previously have this configured? Like there'll now be a JSON file that gets generated when the tests run? Are we worried that it won't be in .gitignore
?
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.
Yeah there will be a d2l-test-report.json
generated. I don't think it will be a problem for repos. Most repos don't explicitly check in generated files or do anything after running tests.
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.
I could add a disable test reporting CLI command if we think we will need to disable it.
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.
Ok cool. I don't think it's worth adding a flag until we know we'll need it.
🎉 This PR is included in version 1.19.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
https://desire2learn.atlassian.net/browse/QE-251
Enable test reporting by default when
GITHUB_ACTIONS
environment variable defined