add CI and BUILD_NUMBER env var in docs
This commit is contained in:
parent
31ad577325
commit
0d797889ff
|
@ -0,0 +1 @@
|
||||||
|
Add CI and BUILD_NUMBER environment variables in documentation
|
|
@ -1047,6 +1047,14 @@ Environment Variables
|
||||||
|
|
||||||
Environment variables that can be used to change pytest's behavior.
|
Environment variables that can be used to change pytest's behavior.
|
||||||
|
|
||||||
|
.. envvar:: CI
|
||||||
|
|
||||||
|
When set (regardless of value), pytest acknowledges that is running in a CI process. Alterative to BUILD_NUMBER variable.
|
||||||
|
|
||||||
|
.. envvar:: BUILD_NUMBER
|
||||||
|
|
||||||
|
When set (regardless of value), pytest acknowledges that is running in a CI process. Alterative to CI variable.
|
||||||
|
|
||||||
.. envvar:: PYTEST_ADDOPTS
|
.. envvar:: PYTEST_ADDOPTS
|
||||||
|
|
||||||
This contains a command-line (parsed by the py:mod:`shlex` module) that will be **prepended** to the command line given
|
This contains a command-line (parsed by the py:mod:`shlex` module) that will be **prepended** to the command line given
|
||||||
|
|
Loading…
Reference in New Issue