Skip to content

Commit 0bfce60

Browse files
committed
lib: Fix running twister
Use integration_platforms and invoke twister properly. Signed-off-by: Carles Cufi <[email protected]>
1 parent ede90a4 commit 0bfce60

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
run: |
2626
west build -b custom_plank app
2727
28-
- name: Twister Unit Tests
28+
- name: Twister Tests
2929
working-directory: example-application
3030
run: |
31-
../zephyr/scripts/twister -p qemu_cortex_m0 --testcase-root ./tests/
31+
../zephyr/scripts/twister -G --board-root boards/ --testsuite-root ./tests/
3232
3333
- name: Archive firmware
3434
uses: actions/upload-artifact@v2

tests/lib/custom_lib/testcase.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
common:
22
tags: extensibility
3+
integration_platforms:
4+
- custom_plank
5+
- qemu_cortex_m0
36
tests:
47
lib.custom_lib:
58
build_only: false # something benign to make a non-empty list

0 commit comments

Comments
 (0)