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

Commit 7c0bb85

Browse files
committed
meta
1 parent 045e01e commit 7c0bb85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.actions/assistant.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,7 @@ def bash_test(folder: str, output_file: str = PATH_SCRIPT_TEST) -> Optional[str]
377377
cmd.append(f"python -m pytest {ipynb_file} -v --nbval --nbval-cell-timeout=300")
378378
else:
379379
pub_ipynb = os.path.join(DIR_NOTEBOOKS, f"{folder}.ipynb")
380-
pub_dir = os.path.dirname(pub_ipynb)
381-
pub_meta = os.path.join(pub_dir, os.path.basename(meta_file))
380+
pub_meta = pub_ipynb.replace(".ipynb", ".yaml")
382381
# copy and add meta config
383382
cmd += [f"cp {meta_file} {pub_meta}", f"cat {pub_meta}", f"git add {pub_meta}"]
384383
warn("Invalid notebook's accelerator for this device. So no tests will be run!!!", RuntimeWarning)

0 commit comments

Comments
 (0)