-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from rust-lang/docs-document-how-to-run-a-qui…
…ck-crater-e2e-test docs: document how to run a quick crater e2e test
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# How to test crater | ||
|
||
After you do infra changes to crater, you might want to run a quick e2e test, to | ||
make sure everything continues working as expected. | ||
|
||
For an in-depth guide on how to use the crater bot from the `rust-lang/rust` repository, | ||
check the [bot-usage](https://github.com/rust-lang/crater/blob/master/docs/bot-usage.md) | ||
document. | ||
However, if you want to run a quick test, here's how to do it: | ||
|
||
1. Identify a PR where the bors testing succeeded | ||
(e.g. [this](https://github.com/rust-lang/rust/pull/131362#issuecomment-2421811741)) | ||
2. Comment on the PR with the following command: | ||
``` | ||
@craterbot run mode=check-only crates=https://gist.githubusercontent.com/MarcoIeni/3800cdca02ddb30ac98404cafa849c1b/raw/crates start=master#<start_commit> end=try#<end_commit> | ||
``` | ||
E.g. [this](https://github.com/rust-lang/rust/pull/131362#issuecomment-2435412130) |