We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cee927 commit d73866aCopy full SHA for d73866a
1 file changed
.github/scripts/test-all-plugins.py
@@ -11,7 +11,7 @@ def get_tests_folders(plugin_name):
11
pkg_file = open("./packaging/" + plugin_name + "/pkg.json")
12
packaging = json.load(pkg_file)
13
for file in packaging["files"]: # loop on "files" array in pkg.json file.
14
- if file.endswith("/") and os.path.exists("tests/" + file): # if this is a directory and there is test for it.
+ if os.path.isdir("tests/" + file): # check if the path is a directory in the "tests" folder
15
folder_list.append("tests/" + file)
16
return folder_list
17
0 commit comments