-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[code-infra] Rename CI checks to be more human readable #16910
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
Conversation
JCQuintas
commented
Mar 11, 2025
- I have followed (at least) the PR section of the contributing guide.
|
Deploy preview: https://deploy-preview-16910--material-ui-x.netlify.app/ Bundle size reportTotal Size Change: 0B(0.00%) - Total Gzip Change: 0B(0.00%) |
|
It seems we would need to update the required steps in GitHub. |
| - test_unit: | ||
| <<: *default-context | ||
| name: 'JSDOM 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.
This was nice before to train us to know that pnpm test:unit runs this one.
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.
We would usually check the circleci log to see why it failed, and the step will tell you the exact command to run. Both our browser and jsdom tests are unit tests, so it is a bit misleading.
For context, this is based on the base-ui changes, which we agreed on code-infra to bring to other repos: mui/base-ui#1321
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.
Personally prefer the existing naming, but I value consistency more 🙂
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 was nice before to train us to know that pnpm test:unit runs this one.
In Base UI this script was also renamed to test:jsdom, so it's still consistent.
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 think we should rename those to test:unit:jsdom and test:unit:browser, to show that it's running the same thing in different environments, and change the titles accordingly.
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.
And I also feel that having the job names map to npm scripts like we currently do is more convenient.
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> Signed-off-by: Jose C Quintas Jr <juniorquintas@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> Signed-off-by: Jose C Quintas Jr <juniorquintas@gmail.com>
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…ase-naming-circleci
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…ase-naming-circleci
|
@Janpot bump 😄 This can be done async as well, just change the config and this PR should be able to be merged. Everyone would need to rebase after though. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Signed-off-by: Jose C Quintas Jr <juniorquintas@gmail.com>
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…ase-naming-circleci
|
Please add one type label to categorize the purpose of this PR appropriately:
|