Skip to content

Don't use a subset in test fetcher if on main branch#28816

Merged
ydshieh merged 1 commit into
mainfrom
prevent_surprise
Mar 11, 2024
Merged

Don't use a subset in test fetcher if on main branch#28816
ydshieh merged 1 commit into
mainfrom
prevent_surprise

Conversation

@ydshieh

@ydshieh ydshieh commented Feb 1, 2024

Copy link
Copy Markdown
Collaborator

What does this PR do?

[I don't like surprise, like you do I guess] 😉

Don't select a subset from the detected tests to run when they are many - if we are on the main branch.
This could detect any issue as early as at the merge time, not at the nightly run.

@ydshieh
ydshieh requested a review from ArthurZucker February 1, 2024 10:26
@ydshieh

ydshieh commented Feb 1, 2024

Copy link
Copy Markdown
Collaborator Author

Let me know if you want me to explore the option to block a PR being merged if the last commit message is not of the form

[no_filter] xxx yyy

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ydshieh ydshieh mentioned this pull request Feb 19, 2024
@huggingface huggingface deleted a comment from github-actions Bot Mar 4, 2024
@ydshieh

ydshieh commented Mar 6, 2024

Copy link
Copy Markdown
Collaborator Author

@ArthurZucker I think this PR is good to preventing the surprising failures on CircleCI.

@ArthurZucker ArthurZucker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Alright, trusting you on this one 🤗

@amyeroberts amyeroberts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for flagging - LGTM, thanks for working on this @ydshieh!

@ydshieh
ydshieh merged commit e5eb55b into main Mar 11, 2024
@ydshieh
ydshieh deleted the prevent_surprise branch March 11, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants