File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ Added `CI ` and `BUILD_NUMBER ` environment variables to the documentation.
Original file line number Diff line number Diff line change @@ -1047,6 +1047,14 @@ Environment Variables
1047
1047
1048
1048
Environment variables that can be used to change pytest's behavior.
1049
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
+
1050
1058
.. envvar :: PYTEST_ADDOPTS
1051
1059
1052
1060
This contains a command-line (parsed by the py:mod: `shlex ` module) that will be **prepended ** to the command line given
You can’t perform that action at this time.
0 commit comments