Skip to content

Commit

Permalink
DOC: mention CI and BUILD_NUMBER in pytest -h
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcBresson committed Jul 5, 2024
1 parent e19ad1f commit 9749e5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/_pytest/helpconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ def showhelp(config: Config) -> None:
tw.line()
tw.line("Environment variables:")
vars = [
(
"CI",
"When truthy, pytest knows it is running in a CI process and does not truncate summary info",
),
("BUILD_NUMBER", "equivalent to CI"),
("PYTEST_ADDOPTS", "Extra command line options"),
("PYTEST_PLUGINS", "Comma-separated plugins to load during startup"),
("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "Set to disable plugin auto-loading"),
Expand Down

0 comments on commit 9749e5c

Please sign in to comment.