plano/demos/shared/test_runner/run_demo_tests.sh

24 lines
606 B
Bash
Raw Normal View History

#!/bin/bash
set -eu
# for demo in currency_exchange hr_agent
2025-03-14 17:39:45 -07:00
for demo in currency_exchange weather_forecast
do
echo "******************************************"
echo "Running tests for $demo ..."
echo "****************************************"
2025-02-07 18:45:42 -08:00
cd ../../samples_python/$demo
2025-03-15 16:31:26 -07:00
echo "starting archgw"
archgw up arch_config.yaml
2025-03-15 16:31:26 -07:00
echo "starting docker containers"
docker compose up -d 2>&1 > /dev/null
echo "starting hurl tests"
2025-03-15 16:44:04 -07:00
pwd
ls
2025-03-15 17:08:42 -07:00
hurl --test hurl_tests/*.hurl
2025-03-15 16:31:26 -07:00
echo "stopping docker containers and archgw"
archgw down
docker compose down -v
2025-02-07 18:45:42 -08:00
cd ../../shared/test_runner
done