Skip to content

Commit 9fb7382

Browse files
committed
Update test workflow to run firmware tests in native environment and add ArduinoJson dependency to platformio.ini
1 parent ad453d2 commit 9fb7382

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Run firmware tests
2828
working-directory: ./firmware
2929
run: |
30-
pio test
30+
pio test -e native
3131
3232
test-react-native:
3333
runs-on: ubuntu-latest

firmware/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ lib_deps =
88
fastled/FastLED@^3.6.0
99
h2zero/NimBLE-Arduino@^1.4.3
1010
olikraus/U8g2@^2.35.8
11+
bblanchon/ArduinoJson@^6.21.3
1112

1213
[env:native]
1314
platform = native
@@ -17,4 +18,5 @@ lib_deps =
1718
h2zero/NimBLE-Arduino@^1.4.3
1819
olikraus/U8g2@^2.35.8
1920
throwtheswitch/Unity@^2.5.2
21+
bblanchon/ArduinoJson@^6.21.3
2022
build_flags = -DUNITY_INCLUDE_DOUBLE -DUNITY_DOUBLE_PRECISION=1e-12

0 commit comments

Comments
 (0)