Skip to content

Commit 563d791

Browse files
validate devfile schemas test suite parameters now changeable
Signed-off-by: Michael Valdron <[email protected]>
1 parent 76b1f4e commit 563d791

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/validate_devfile_schemas.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
set -x
44

5-
stackDirs=$(bash "$(pwd)/tests/get_stacks.sh")
5+
stacksDir=${STACKS_DIR:-"$(pwd)/stacks"}
6+
stackDirs=${STACKS:-"$(bash "$(pwd)/tests/get_stacks.sh")"}
67

78
ginkgo run --procs 2 \
8-
tests/validate_devfile_schemas -- -stacksPath "$(pwd)"/stacks -stackDirs "$stackDirs"
9+
tests/validate_devfile_schemas -- -stacksPath ${stacksDir} -stackDirs "$stackDirs"

0 commit comments

Comments
 (0)