From 5d4a557a85c9d96a148780e2ec8c356a1d30e0fd Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Wed, 25 Sep 2024 15:14:44 +0200 Subject: [PATCH] ci: run simple firmware boot tests on native_sim in CI Run a simple boot test of the firmware application on native_sim in CI. Signed-off-by: Henrik Brix Andersen --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad95133..e2c21b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,6 +39,14 @@ jobs: fi west twister -T app -v --inline-logs --integration $EXTRA_TWISTER_FLAGS + - name: Run firmware tests + working-directory: cannectivity + if: startsWith(runner.os, 'Linux') + shell: bash + run: | + # Limit to one concurrent instance as the USBIP port is reused between instances + west twister -T app -v --inline-logs --platform native_sim/native/64 -j1 + - name: Run tests working-directory: cannectivity shell: bash