reeneable simulator in CI builds

This commit is contained in:
Kevin Hester
2021-05-23 17:02:47 +08:00
parent 7f2bbcd95e
commit 13199f13c2
2 changed files with 17 additions and 8 deletions

9
bin/test-simulator.sh Executable file
View File

@@ -0,0 +1,9 @@
set -e
echo "Starting simulator"
.pio/build/native/program &
sleep 20 # 5 seconds was not enough
echo "Simulator started, launching python test..."
python3 -c 'from meshtastic.test import testSimulator; testSimulator()'