Adds convenience script for running integration tests.

This commit is contained in:
PhilipWafula 2021-05-14 10:31:48 +03:00
parent 7ab278d098
commit 1bd281f2a2
Signed by untrusted user: mango-habanero
GPG Key ID: B00CE9034DA19FB7

View File

@ -0,0 +1,21 @@
#!/bin/bash
if [ -z "$TEST_SERVER_URL" ];
then
echo "The test server url is not set !"
exit 1
fi
if [ -z "$TEST_GIFT_VALUE" ];
then
echo "The test gift value is not set !"
exit 1
fi
if [ -z "$TEST_TOKEN_SYMBOL" ];
then
echo "The test token symbol is not set !"
exit 1
fi
PYTHONPATH=. tavern-ci test_accounts.tavern.yaml --debug -vv --log-level debug -s --log-cli-level debug