Skip to content

Run auto-update script on CI to check for uncommited changes #4538

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kripken
Copy link
Member

@kripken kripken commented Mar 21, 2022

This would have caught #4534 early.

This just runs the lit tests atm. Those are the ones we update the most
so I think it has the most value, and it's a fast suite since it's parallel.
Running all the suites would give more coverage, but would almost
double our build times which I'm not sure is worth it.

@kripken kripken requested review from tlively and aheejin March 21, 2022 21:32

- name: verify auto-updating causes no changes
run: ./auto_update_tests.py lit | git diff test/
if: matrix.os == 'ubuntu-latest'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only on ubuntu?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to prevent it from trying to run on windows, I think. We have the same for other similar scripts.

Co-authored-by: Thomas Lively <7121787+tlively@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants