We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 779a87a commit 79108bfCopy full SHA for 79108bf
changelog/10690.doc.rst
@@ -0,0 +1 @@
1
+Added `CI` and `BUILD_NUMBER` environment variables to the documentation.
doc/en/reference/reference.rst
@@ -1047,6 +1047,14 @@ Environment Variables
1047
1048
Environment variables that can be used to change pytest's behavior.
1049
1050
+.. envvar:: CI
1051
+
1052
+When set (regardless of value), pytest acknowledges that is running in a CI process. Alterative to ``BUILD_NUMBER`` variable.
1053
1054
+.. envvar:: BUILD_NUMBER
1055
1056
+When set (regardless of value), pytest acknowledges that is running in a CI process. Alterative to CI variable.
1057
1058
.. envvar:: PYTEST_ADDOPTS
1059
1060
This contains a command-line (parsed by the py:mod:`shlex` module) that will be **prepended** to the command line given
0 commit comments