File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,12 +42,14 @@ echo "Installing StackStorm runners and registering metrics drivers"
4242
4343if [ ! -z " ${ROOT_DIR} " ]; then
4444 PACK_REQUIREMENTS_FILE=" ${ROOT_DIR} /requirements.txt"
45+ PACK_TESTS_REQUIREMENTS_FILE=" ${ROOT_DIR} /requirements-tests.txt"
4546
4647 echo " Copying Makefile to ${ROOT_DIR} "
4748 cp ~ /ci/.circle/Makefile ${ROOT_DIR}
4849 make -C requirements-ci .install-runners
4950else
5051 PACK_REQUIREMENTS_FILE=" $( pwd) /requirements.txt"
52+ PACK_TESTS_REQUIREMENTS_FILE=" $( pwd) /requirements-tests.txt"
5153
5254 echo " Copying Makefile to $( pwd) "
5355 cp ~ /ci/.circle/Makefile .
@@ -60,5 +62,11 @@ if [ -f "${PACK_REQUIREMENTS_FILE}" ]; then
6062 ~ /virtualenv/bin/pip install -r " ${PACK_REQUIREMENTS_FILE} "
6163fi
6264
65+ # Install pack tests requirements
66+ if [ -f " ${PACK_TESTS_REQUIREMENTS_FILE} " ]; then
67+ echo " Installing pack tests requirements from ${PACK_TESTS_REQUIREMENTS_FILE} "
68+ ~ /virtualenv/bin/pip install -r " ${PACK_TESTS_REQUIREMENTS_FILE} "
69+ fi
70+
6371echo " Installed dependencies:"
6472pip list
You can’t perform that action at this time.
0 commit comments