From 0bfce607adf1d7e9aaf7e955dd8ea2671772bafc Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Sat, 19 Nov 2022 15:54:27 +0100 Subject: [PATCH] lib: Fix running twister Use integration_platforms and invoke twister properly. Signed-off-by: Carles Cufi --- .github/workflows/build.yml | 4 ++-- tests/lib/custom_lib/testcase.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1155b2a..17d2f17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/tests/lib/custom_lib/testcase.yaml b/tests/lib/custom_lib/testcase.yaml index 7f2c5a2..211b5c4 100644 --- a/tests/lib/custom_lib/testcase.yaml +++ b/tests/lib/custom_lib/testcase.yaml @@ -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