Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2-10-test] Exclude Scarf Usage Data Collection in CI Environments (#…
…44155) (#44184) Most of the the CI systems add "CI=true" env var. Refereces: - https://docs.pytest.org/en/stable/explanation/ci.html - https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables - https://docs.travis-ci.com/user/environment-variables/ - https://docs.gitlab.com/ee/ci/variables/predefined_variables.html - https://circleci.com/docs/variables/#built-in-environment-variables - https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#using-environment-variables - https://adamj.eu/tech/2020/03/09/detect-if-your-tests-are-running-on-ci/ - https://github.com/The-Compiler/pytest-vw/blob/master/pytest_vw.py (cherry picked from commit 347a83a) Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
- Loading branch information