From 654229d1b94983c500444c268483119363ee5270 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 16 Apr 2020 20:42:29 +0300 Subject: [PATCH] GitHub Actions now sets CI=true --- MANIFEST.in | 2 -- Tests/helper.py | 8 ++------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index a5f726b04..f5d367fdd 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -21,10 +21,8 @@ exclude .appveyor.yml exclude .coveragerc exclude .editorconfig exclude .readthedocs.yml -exclude azure-pipelines.yml exclude codecov.yml global-exclude .git* global-exclude *.pyc global-exclude *.so -prune .azure-pipelines prune .ci diff --git a/Tests/helper.py b/Tests/helper.py index 15a51ccd1..a8ca85dc4 100644 --- a/Tests/helper.py +++ b/Tests/helper.py @@ -272,12 +272,8 @@ def on_github_actions(): def on_ci(): - # Travis and AppVeyor have "CI" - # Azure Pipelines has "TF_BUILD" - # GitHub Actions has "GITHUB_ACTIONS" - return ( - "CI" in os.environ or "TF_BUILD" in os.environ or "GITHUB_ACTIONS" in os.environ - ) + # GitHub Actions, Travis and AppVeyor have "CI" + return "CI" in os.environ def is_big_endian():