1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-02 07:54:27 +00:00

Use github action as ci test.

This commit is contained in:
ly1217
2020-01-13 18:55:55 -08:00
parent 28223c17a3
commit 74cd4594d6
7 changed files with 60 additions and 59 deletions

View File

@@ -95,8 +95,8 @@ def mkdirs(*paths):
if not exists(path):
os.mkdir(path)
def on_travis():
return 'TRAVIS_BUILD_NUMBER' in os.environ
def on_github_actions():
return 'GITHUB_ACTIONS' in os.environ
@contextmanager
def cd(path):