Skip to content

Commit ba0ff3a

Browse files
authored
Merge pull request #32181 from QuLogic/azure-is-ci
ci: Add environment variable to detect Azure Pipelines
2 parents 0098e7f + 350b166 commit ba0ff3a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/testing/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ def is_ci_environment():
260260
'JENKINS', # Jenkins
261261
'GITLAB_CI', # GitLab CI
262262
'GITHUB_ACTIONS', # GitHub Actions
263-
'TEAMCITY_VERSION' # TeamCity
263+
'TEAMCITY_VERSION', # TeamCity
264+
'TF_BUILD', # Azure Pipelines
264265
# Add other CI environment variables as needed
265266
]
266267

0 commit comments

Comments
 (0)