Skip to content
Snippets Groups Projects
Commit ff8396df authored by Michał Kudela's avatar Michał Kudela
Browse files

Pass markers in environment variable ( start-api-smoketest.sh )

parent 42480e6e
No related branches found
No related tags found
2 merge requests!827Merge develop changes to master,!717Rewrite python function to sql ( condenser_api )
......@@ -33,7 +33,15 @@ echo "Starting tests on hivemind server running on ${HIVEMIND_ADDRESS}:${HIVEMIN
echo "Selected test group (if empty all will be executed): ${TEST_GROUP}"
tox -e tavern -- \
-W ignore::pytest.PytestDeprecationWarning \
-n "${JOBS}" \
--junitxml=../../../../"${JUNITXML}" ${TEST_GROUP}
if [ -v RUN_TESTS_WITH_MARKER ]; then
tox -e tavern -- \
-W ignore::pytest.PytestDeprecationWarning \
-n "${JOBS}" \
-m "${RUN_TESTS_WITH_MARKER}" \
--junitxml=../../../../"${JUNITXML}" ${TEST_GROUP}
else
tox -e tavern -- \
-W ignore::pytest.PytestDeprecationWarning \
-n "${JOBS}" \
--junitxml=../../../../"${JUNITXML}" ${TEST_GROUP}
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment