Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ci: Ensure build channels get run even if FILTER is unset #4125

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

tgross35
Copy link
Contributor

In 59a18de("ci: Set -u (error on unset)..."), -u started being passed to the set call in shell scripts. This broke the FILTER logic since now the command always fails.

Make this a bit less fragile by explicitly setting to an empty string, as well as adding a check that at least one test got run.

@rustbot
Copy link
Collaborator

rustbot commented Nov 20, 2024

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@tgross35 tgross35 enabled auto-merge November 20, 2024 10:08
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 20, 2024
In 59a18de("ci: Set `-u` (error on unset)..."), `-u` started being
passed to the `set` call in shell scripts. This broke the `FILTER` logic
since now the command always fails.

Make this a bit less fragile by explicitly setting to an empty string,
as well as adding a check that at least one test got run.
@tgross35 tgross35 added this pull request to the merge queue Nov 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 20, 2024
@tgross35 tgross35 added this pull request to the merge queue Nov 20, 2024
Merged via the queue into rust-lang:main with commit dfc0023 Nov 20, 2024
45 checks passed
@tgross35 tgross35 deleted the fix-filter branch November 20, 2024 12:06
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 20, 2024
In 59a18de("ci: Set `-u` (error on unset)..."), `-u` started being
passed to the `set` call in shell scripts. This broke the `FILTER` logic
since now the command always fails.

Make this a bit less fragile by explicitly setting to an empty string,
as well as adding a check that at least one test got run.

(backport <rust-lang#4125>)
(cherry picked from commit 084f370)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 20, 2024
(backport <rust-lang#4125>)
(cherry picked from commit 907c6d6)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Nov 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-review stable-applied This PR has been cherry-picked to libc's stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants