docs: add try job labels to CONTRIBUTING (#30615)

* docs: add try job comments and labels to CONTRIBUTING

* update for #30712

* clarify what to do if you don’t have permission to add labels

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

* s/compile/compilation/

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Delan Azabani 2023-11-15 10:59:29 +08:00 committed by GitHub
parent 0cc093548e
commit 354d1d8d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ so we can correct that!
See [`HACKING_QUICKSTART.md`](docs/HACKING_QUICKSTART.md) for more information See [`HACKING_QUICKSTART.md`](docs/HACKING_QUICKSTART.md) for more information
on how to start working on Servo. on how to start working on Servo.
## Pull Request Checklist ## Pull request checklist
- Branch from the master branch and, if needed, rebase to the current master - Branch from the master branch and, if needed, rebase to the current master
branch before submitting your pull request. If it doesn't merge cleanly with branch before submitting your pull request. If it doesn't merge cleanly with
@ -49,6 +49,20 @@ on how to start working on Servo.
For specific git instructions, see [GitHub workflow 101](https://github.com/servo/servo/wiki/Github-workflow). For specific git instructions, see [GitHub workflow 101](https://github.com/servo/servo/wiki/Github-workflow).
## Running tests in pull requests
When you push to a pull request, GitHub automatically checks that your changes have no compilation, lint, or tidy errors.
To run unit tests or Web Platform Tests against a pull request, add one or more of the labels below to your pull request. If you do not have permission to add labels to your pull request, add a comment on your bug requesting that they be added.
| Label | Effect |
|---|---|
| `T-full` | Unit tests: Linux, macOS, Windows<br>Layout tests: Linux, macOS<br>Legacy layout tests: Linux, macOS |
| `T-linux-wpt-2013` | Unit tests: Linux<br>Legacy layout tests: Linux |
| `T-linux-wpt-2020` | Unit tests: Linux<br>Layout tests: Linux |
| `T-macos` | Unit tests: macOS |
| `T-windows` | Unit tests: Windows |
## Conduct ## Conduct
Servo Code of Conduct is published at <https://servo.org/coc/>. Servo Code of Conduct is published at <https://servo.org/coc/>.