lib: Fix running twister
Use integration_platforms and invoke twister properly. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
ede90a457c
commit
0bfce607ad
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -25,10 +25,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
west build -b custom_plank app
|
west build -b custom_plank app
|
||||||
|
|
||||||
- name: Twister Unit Tests
|
- name: Twister Tests
|
||||||
working-directory: example-application
|
working-directory: example-application
|
||||||
run: |
|
run: |
|
||||||
../zephyr/scripts/twister -p qemu_cortex_m0 --testcase-root ./tests/
|
../zephyr/scripts/twister -G --board-root boards/ --testsuite-root ./tests/
|
||||||
|
|
||||||
- name: Archive firmware
|
- name: Archive firmware
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
common:
|
common:
|
||||||
tags: extensibility
|
tags: extensibility
|
||||||
|
integration_platforms:
|
||||||
|
- custom_plank
|
||||||
|
- qemu_cortex_m0
|
||||||
tests:
|
tests:
|
||||||
lib.custom_lib:
|
lib.custom_lib:
|
||||||
build_only: false # something benign to make a non-empty list
|
build_only: false # something benign to make a non-empty list
|
||||||
|
|
Loading…
Reference in a new issue