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

base tests: switch to nightly toolchain before checking formatting of tests with rustfmt #3586

Merged
merged 3 commits into from
Dec 27, 2018

Conversation

matthiaskrgr
Copy link
Member

this errored because rustfmt is not available on the master toolchain

@matthiaskrgr matthiaskrgr changed the title base tests: switch to nightly toolchain before checking formatting of tests with rustfmt [WIP] base tests: switch to nightly toolchain before checking formatting of tests with rustfmt Dec 27, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Dec 27, 2018

the nightly toolchain is also not guaranteed to have rustfmt available, right?

We could just run stable's rustfmt

@matthiaskrgr
Copy link
Member Author

Most people who hack on clippy probably use the nightly toolchain so it makes sense to use nightly rustfmt I think.

Also rustfmt breaks fare less often now that it uses rustc_ap* crates, I don't think it is that problematic to use nightly rustfmt.

@oli-obk
Copy link
Contributor

oli-obk commented Dec 27, 2018

@bors r+

@bors
Copy link
Contributor

bors commented Dec 27, 2018

📋 Looks like this PR is still in progress, ignoring approval.

Hint: Remove [WIP] from this PR's title when it is ready for review.

@matthiaskrgr
Copy link
Member Author

@bors r-
I'm still working on this, sorry

@matthiaskrgr
Copy link
Member Author

Grr, ci is supposed to fail on this now, so it's still not working correctly...

@matthiaskrgr matthiaskrgr force-pushed the test_fmt_fix branch 4 times, most recently from a4f73a8 to df87dce Compare December 27, 2018 14:54
@matthiaskrgr
Copy link
Member Author

Ok, it's finally failing successfully now :D 🎉

@matthiaskrgr matthiaskrgr changed the title [WIP] base tests: switch to nightly toolchain before checking formatting of tests with rustfmt base tests: switch to nightly toolchain before checking formatting of tests with rustfmt Dec 27, 2018
@matthiaskrgr
Copy link
Member Author

I swear, I will only need 10 more tries until this finally works...

@matthiaskrgr
Copy link
Member Author

Finally..
@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Dec 27, 2018

📌 Commit 38fabcb has been approved by oli-obk

@bors
Copy link
Contributor

bors commented Dec 27, 2018

⌛ Testing commit 38fabcb with merge 592451a...

bors added a commit that referenced this pull request Dec 27, 2018
base tests: switch to nightly toolchain before checking formatting of tests with rustfmt

this errored because rustfmt is not available on the master toolchain
@bors
Copy link
Contributor

bors commented Dec 27, 2018

💥 Test timed out

@matthiaskrgr
Copy link
Member Author

@bors retry

@bors
Copy link
Contributor

bors commented Dec 27, 2018

⌛ Testing commit 38fabcb with merge 36e3b2e...

bors added a commit that referenced this pull request Dec 27, 2018
base tests: switch to nightly toolchain before checking formatting of tests with rustfmt

this errored because rustfmt is not available on the master toolchain
@bors
Copy link
Contributor

bors commented Dec 27, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: oli-obk
Pushing 36e3b2e to master...

@bors bors merged commit 38fabcb into rust-lang:master Dec 27, 2018
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.

3 participants