mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-16 16:33:27 -05:00
fix: keep the ci test job off the network
This commit is contained in:
1 parent
3faf7dd1ee
commit
9966029cf7
4 files changed
+40
-2
No files matched your search
@@ -173,7 +173,10 @@ def _fetch_asset(
|
||||
# (gh release upload --clobber): only a download can answer, and
|
||||
# it replaces the copy only if it verifies.
|
||||
|
||||
if offline:
|
||||
# RETROBIOS_OFFLINE forbids every download whatever a caller passes: the
|
||||
# CI test job sets it, since tests fetching 252 MB assets into the shared
|
||||
# cache filled the runner's disk and changed what later tests resolved.
|
||||
if offline or os.environ.get("RETROBIOS_OFFLINE"):
|
||||
return None
|
||||
|
||||
os.makedirs(dest_dir, exist_ok=True)
|
||||
|
||||
Reference in new issue
Block a user