Remove assert not is_docker() from GitHub checks (#8813)
* Update * Update
This commit is contained in:
1 parent
6717519635
commit
39ce8ca19a
1 file changed
-1
@@ -316,7 +316,6 @@ def check_git_status(repo='ultralytics/yolov5'):
|
|||||||
msg = f', for updates see {url}'
|
msg = f', for updates see {url}'
|
||||||
s = colorstr('github: ') # string
|
s = colorstr('github: ') # string
|
||||||
assert Path('.git').exists(), s + 'skipping check (not a git repository)' + msg
|
assert Path('.git').exists(), s + 'skipping check (not a git repository)' + msg
|
||||||
assert not is_docker(), s + 'skipping check (Docker image)' + msg
|
|
||||||
assert check_online(), s + 'skipping check (offline)' + msg
|
assert check_online(), s + 'skipping check (offline)' + msg
|
||||||
|
|
||||||
splits = re.split(pattern=r'\s', string=check_output('git remote -v', shell=True).decode())
|
splits = re.split(pattern=r'\s', string=check_output('git remote -v', shell=True).decode())
|
||||||
|
|||||||
Reference in new issue
Block a user