Fix passenv CI in tox ini and make tests insensitive to the presence of the CI env variable (#13684) (#13694)
As discussed in https://github.com/pytest-dev/pytest/pull/13684#:~:text=See%3A%20%23-,13679%20(comment),-ogrisel%20added%204.
---------
(cherry picked from commit bf92debb4fd874289f6aed29c6947b611b1de0ae)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>