mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
GitHub Actions now sets CI=true
This commit is contained in:
parent
97280a045c
commit
654229d1b9
|
@ -21,10 +21,8 @@ exclude .appveyor.yml
|
||||||
exclude .coveragerc
|
exclude .coveragerc
|
||||||
exclude .editorconfig
|
exclude .editorconfig
|
||||||
exclude .readthedocs.yml
|
exclude .readthedocs.yml
|
||||||
exclude azure-pipelines.yml
|
|
||||||
exclude codecov.yml
|
exclude codecov.yml
|
||||||
global-exclude .git*
|
global-exclude .git*
|
||||||
global-exclude *.pyc
|
global-exclude *.pyc
|
||||||
global-exclude *.so
|
global-exclude *.so
|
||||||
prune .azure-pipelines
|
|
||||||
prune .ci
|
prune .ci
|
||||||
|
|
|
@ -272,12 +272,8 @@ def on_github_actions():
|
||||||
|
|
||||||
|
|
||||||
def on_ci():
|
def on_ci():
|
||||||
# Travis and AppVeyor have "CI"
|
# GitHub Actions, Travis and AppVeyor have "CI"
|
||||||
# Azure Pipelines has "TF_BUILD"
|
return "CI" in os.environ
|
||||||
# GitHub Actions has "GITHUB_ACTIONS"
|
|
||||||
return (
|
|
||||||
"CI" in os.environ or "TF_BUILD" in os.environ or "GITHUB_ACTIONS" in os.environ
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def is_big_endian():
|
def is_big_endian():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user