diff options
author | Mike Frysinger <vapier@google.com> | 2025-03-25 12:50:36 -0400 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-03-25 11:19:49 -0700 |
commit | 8310436be083f8268bf8325bb2ffb65e9e178f6f (patch) | |
tree | 1aa0a97aee95407b7bdcca89df0fc57361900b36 /pyproject.toml | |
parent | d5087392edcee3c0da4ba19efb6005efd9ccf706 (diff) | |
download | git-repo-8310436be083f8268bf8325bb2ffb65e9e178f6f.tar.gz |
run_tests: move test filtering to pytest markers
Move the test disable logic even closer to the exact test that's
disabled. This way people updating tests have a better chance of
seeing they'll get reduced coverage in the CQ.
Change-Id: I57c1a073a844019798b27e14d742fd32925d9ae8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/462882
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index dddae152..6a6a583a 100644 --- a/pyproject.toml +++ b/pyproject.toml | |||
@@ -16,3 +16,8 @@ | |||
16 | line-length = 80 | 16 | line-length = 80 |
17 | # NB: Keep in sync with tox.ini. | 17 | # NB: Keep in sync with tox.ini. |
18 | target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311'] #, 'py312' | 18 | target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311'] #, 'py312' |
19 | |||
20 | [tool.pytest.ini_options] | ||
21 | markers = """ | ||
22 | skip_cq: Skip tests in the CQ. Should be rarely used! | ||
23 | """ | ||