Skip to content
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

Merged
merged 3 commits into from
Jul 25, 2024
Merged

Conversation

devpow112
Copy link
Contributor

@devpow112 devpow112 commented Jul 24, 2024

https://desire2learn.atlassian.net/browse/QE-251

Enable test reporting by default when GITHUB_ACTIONS environment variable defined

Enable test reporting by default when `GITHUB_ACTIONS` environment variable defined
@devpow112 devpow112 marked this pull request as ready for review July 24, 2024 20:16
@devpow112 devpow112 requested a review from a team as a code owner July 24, 2024 20:16
@devpow112 devpow112 requested a review from a team July 24, 2024 20:21
@@ -215,8 +217,6 @@ export class WTRConfig {
});
}

testReporting = !!testReporting || this.#cliArgs['test-reporting'];
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

@devpow112 devpow112 Jul 24, 2024

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.

Copy link
Member

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.

@devpow112 devpow112 changed the title Update test reporting default feat: update test reporting default Jul 24, 2024
src/server/wtr-config.js Outdated Show resolved Hide resolved
@devpow112 devpow112 merged commit 54ad3f5 into main Jul 25, 2024
3 checks passed
@devpow112 devpow112 deleted the depowell/update branch July 25, 2024 13:23
Copy link

🎉 This PR is included in version 1.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@devpow112 devpow112 changed the title feat: update test reporting default feat: update test reporting default (QE-251) Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants