Skip to content

Commit 6de9098

Browse files
committed
adjust copy command
Signed-off-by: gruebel <[email protected]>
1 parent ee7e96f commit 6de9098

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/scripts.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ def e2e():
3131
dest_dir = Path("tests/features")
3232

3333
subprocess.run(["git", "submodule", "update", "--init", "--recursive"], check=True)
34-
shutil.copytree(source_dir, dest_dir, dirs_exist_ok=True)
34+
35+
for file in source_dir.glob("*"):
36+
if file.is_file():
37+
shutil.copy(file, dest_dir)
38+
3539
subprocess.run(["behave", "tests/features/"], check=True)
3640

3741
for feature_file in dest_dir.glob("*.feature"):

0 commit comments

Comments
 (0)