Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit f8e3b54

Browse files
committed
Merge branch 'ci/gpu-only' of https://github.com/PyTorchLightning/lightning-examples into ci/gpu-only
2 parents 626ec00 + 11bd195 commit f8e3b54

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.actions/assistant.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,12 @@ def bash_test(folder: str, output_file: str = PATH_SCRIPT_TEST) -> Optional[str]
379379
pub_ipynb = os.path.join(DIR_NOTEBOOKS, f"{folder}.ipynb")
380380
pub_meta = pub_ipynb.replace(".ipynb", ".yaml")
381381
# copy and add meta config
382-
cmd += [f"mkdir -p {os.path.dirname(pub_meta)}", f"cp {meta_file} {pub_meta}", f"cat {pub_meta}", f"git add {pub_meta}"]
382+
cmd += [
383+
f"mkdir -p {os.path.dirname(pub_meta)}",
384+
f"cp {meta_file} {pub_meta}",
385+
f"cat {pub_meta}",
386+
f"git add {pub_meta}",
387+
]
383388
warn("Invalid notebook's accelerator for this device. So no tests will be run!!!", RuntimeWarning)
384389
# deactivate and clean local environment
385390
cmd += ["deactivate", f"rm -rf {os.path.join(folder, 'venv')}"]

0 commit comments

Comments
 (0)