mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-02 20:05:52 +00:00
Add platformio tests
This commit is contained in:
parent
2043ad3bd0
commit
929b3e4f88
11
.github/workflows/test_simulator.yml
vendored
11
.github/workflows/test_simulator.yml
vendored
@ -44,3 +44,14 @@ jobs:
|
|||||||
.pio/build/native/program & sleep 10 # 5 seconds was not enough
|
.pio/build/native/program & sleep 10 # 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: PlatformIO Tests
|
||||||
|
run: platformio test -e native --junit-output-path reports/testreport.xml
|
||||||
|
|
||||||
|
- name: Test Report
|
||||||
|
uses: dorny/test-reporter@v1.9.1
|
||||||
|
if: success() || failure() # run this step even if previous step failed
|
||||||
|
with:
|
||||||
|
name: PlatformIO Tests
|
||||||
|
path: reports/testreport.xml
|
||||||
|
reporter: java-junit
|
||||||
|
Loading…
Reference in New Issue
Block a user