From bf349963cb8d084c7f2614f7a94ed20bb9732a80 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Fri, 20 Sep 2024 19:04:44 +0000 Subject: [PATCH] github: run test suites in GitHub CI Run the test suites in GitHub CI. Signed-off-by: Henrik Brix Andersen --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 862222c..ad95133 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,3 +38,12 @@ jobs: EXTRA_TWISTER_FLAGS="--short-build-path -O/tmp/twister-out" fi west twister -T app -v --inline-logs --integration $EXTRA_TWISTER_FLAGS + + - name: Run tests + working-directory: cannectivity + shell: bash + run: | + if [ "${{ runner.os }}" = "Windows" ]; then + EXTRA_TWISTER_FLAGS="--short-build-path -O/tmp/twister-out" + fi + west twister -T tests -v --inline-logs --integration $EXTRA_TWISTER_FLAGS