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:
Carles Cufi 2022-11-19 15:54:27 +01:00 committed by Carles Cufí
parent ede90a457c
commit 0bfce607ad
2 changed files with 5 additions and 2 deletions

View file

@ -25,10 +25,10 @@ jobs:
run: |
west build -b custom_plank app
- name: Twister Unit Tests
- name: Twister Tests
working-directory: example-application
run: |
../zephyr/scripts/twister -p qemu_cortex_m0 --testcase-root ./tests/
../zephyr/scripts/twister -G --board-root boards/ --testsuite-root ./tests/
- name: Archive firmware
uses: actions/upload-artifact@v2

View file

@ -1,5 +1,8 @@
common:
tags: extensibility
integration_platforms:
- custom_plank
- qemu_cortex_m0
tests:
lib.custom_lib:
build_only: false # something benign to make a non-empty list