mirror of
https://github.com/katanemo/plano.git
synced 2026-04-30 11:26:27 +02:00
add hurl tests for currency exchange demo (#435)
This commit is contained in:
parent
6072d6ef30
commit
d2cb1427fb
5 changed files with 69 additions and 4 deletions
|
|
@ -8,11 +8,13 @@ do
|
|||
echo "Running tests for $demo ..."
|
||||
echo "****************************************"
|
||||
cd ../../samples_python/$demo
|
||||
echo "starting archgw"
|
||||
archgw up arch_config.yaml
|
||||
docker compose up -d
|
||||
cd ../../shared/test_runner
|
||||
TEST_DATA=../../samples_python/$demo/test_data.yaml poetry run pytest
|
||||
cd ../../samples_python/$demo
|
||||
echo "starting docker containers"
|
||||
docker compose up -d 2>&1 > /dev/null
|
||||
echo "starting hurl tests"
|
||||
hurl --test hurl_tests/*.hurl
|
||||
echo "stopping docker containers and archgw"
|
||||
archgw down
|
||||
docker compose down -v
|
||||
cd ../../shared/test_runner
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue