summaryrefslogtreecommitdiffstats
path: root/ci/ci_run_all_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/ci_run_all_tests.sh')
-rwxr-xr-xci/ci_run_all_tests.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/ci/ci_run_all_tests.sh b/ci/ci_run_all_tests.sh
index 836cf571..d26dbcb1 100755
--- a/ci/ci_run_all_tests.sh
+++ b/ci/ci_run_all_tests.sh
@@ -8,8 +8,6 @@
# C8YUSERNAME : Cumolocity username
# C8YTENANT : Cumolocity tenant
# C8YDEVICE : The device name
-# C8YDEVICEID : The device ID in Cumolocity
-# TIMEZONE : Your timezone (temporary)
# TEBASEDIR : Base directory for the Thin-Edge repo
# EXAMPLEDIR : The direcory of the sawtooth example
# C8YURL : e.g. https://thin-edge-io.eu-latest.cumulocity.com
@@ -32,13 +30,14 @@ cd $TEBASEDIR
# Check if clients are installed
dpkg -s mosquitto-clients
-./ci/configure_bridge.sh
-
# Run all PySys tests
python3 -m venv ~/env-pysys
source ~/env-pysys/bin/activate
pip3 install -r tests/requirements.txt
+
+export C8YDEVICEID=$(python3 ./ci/find_device_id.py --tenant $C8YTENANT --user $C8YUSERNAME --device $C8YDEVICE --url $C8YURL)
+
cd tests/PySys/
set +e