commit | 7cd34f5ad0ee395dbefc44490f4292d59fd6a20a | [log] [tgz] |
---|---|---|
author | Boris <boris.lok@cienet.corp-partner.google.com> | Mon May 19 08:10:04 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 19 08:10:04 2025 |
tree | b407922ad65a384636a7953720503e8f73a2783e | |
parent | 189ad7af41d652d191c51ac2fc744f804acafa7f [diff] |
[Feature] Support to input `tag_includes`, `tag_excludes`, `test_name_includes`, and `test_name_excludes`. BUG=None TEST=manual Change-Id: I9176fe1fd618367a14f88dc390e0363ff66baf0d Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/6341852 Reviewed-by: Przemysław Filipek <filipek@google.com> Reviewed-by: Michal Matyjek <mmatyjek@google.com> Commit-Queue: Michal Matyjek <mmatyjek@google.com> Cr-Commit-Position: refs/heads/main@{#73675}
Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.