mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 17:32:18 +00:00
reeneable simulator in CI builds
This commit is contained in:
parent
7f2bbcd95e
commit
13199f13c2
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@ -59,14 +59,14 @@ jobs:
|
|||||||
pio upgrade
|
pio upgrade
|
||||||
|
|
||||||
# We now run integration test before other build steps (to quickly see runtime failures)
|
# We now run integration test before other build steps (to quickly see runtime failures)
|
||||||
#- name: Build for native
|
- name: Build for native
|
||||||
# run: platformio run -e native
|
run: platformio run -e native
|
||||||
#- name: Integration test
|
- name: Integration test
|
||||||
# run: |
|
run: |
|
||||||
# .pio/build/native/program &
|
.pio/build/native/program &
|
||||||
# sleep 20 # 5 seconds was not enough
|
sleep 20 # 5 seconds was not enough
|
||||||
# echo "Simulator started, launching python test..."
|
echo "Simulator started, launching python test..."
|
||||||
# python3 -c 'from meshtastic.test import testSimulator; testSimulator()'
|
python3 -c 'from meshtastic.test import testSimulator; testSimulator()'
|
||||||
|
|
||||||
# - name: Build for tbeam
|
# - name: Build for tbeam
|
||||||
# run: platformio run -e tbeam
|
# run: platformio run -e tbeam
|
||||||
|
9
bin/test-simulator.sh
Executable file
9
bin/test-simulator.sh
Executable 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()'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user