mirror of
https://github.com/katanemo/plano.git
synced 2026-04-28 02:23:56 +02:00
refactor demos (#398)
This commit is contained in:
parent
2bd61d628c
commit
b3c95a6698
93 changed files with 338 additions and 1042 deletions
19
demos/shared/test_runner/run_demo_tests.sh
Normal file
19
demos/shared/test_runner/run_demo_tests.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
# for demo in currency_exchange hr_agent
|
||||
for demo in currency_exchange
|
||||
do
|
||||
echo "******************************************"
|
||||
echo "Running tests for $demo ..."
|
||||
echo "****************************************"
|
||||
cd ../../samples_python/$demo
|
||||
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
|
||||
archgw down
|
||||
docker compose down -v
|
||||
cd ../../shared/test_runner
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue