Skip to content

Commit 49e49d3

Browse files
authored
Merge pull request #4562 from hugovk/gha-ci-true
GitHub Actions now sets CI=true
2 parents 97280a0 + 654229d commit 49e49d3

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ exclude .appveyor.yml
2121
exclude .coveragerc
2222
exclude .editorconfig
2323
exclude .readthedocs.yml
24-
exclude azure-pipelines.yml
2524
exclude codecov.yml
2625
global-exclude .git*
2726
global-exclude *.pyc
2827
global-exclude *.so
29-
prune .azure-pipelines
3028
prune .ci

Tests/helper.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,8 @@ def on_github_actions():
272272

273273

274274
def on_ci():
275-
# Travis and AppVeyor have "CI"
276-
# Azure Pipelines has "TF_BUILD"
277-
# GitHub Actions has "GITHUB_ACTIONS"
278-
return (
279-
"CI" in os.environ or "TF_BUILD" in os.environ or "GITHUB_ACTIONS" in os.environ
280-
)
275+
# GitHub Actions, Travis and AppVeyor have "CI"
276+
return "CI" in os.environ
281277

282278

283279
def is_big_endian():

0 commit comments

Comments
 (0)