diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index 6e11e59..31c6afe 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -82,6 +82,10 @@ jobs: run: | docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} west build -b ${{ matrix.native_board }} zephyr/samples/hello_world + - name: Ensure zephyr twister unit tests works + run: | + docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} ./zephyr/scripts/twister -p ${{ matrix.native_board }} -T zephyr/samples/subsys/testsuite/integration + - name: Login to Docker Hub uses: docker/login-action@v2 with: diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index d770712..b021e7d 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -75,3 +75,7 @@ jobs: - name: Ensure native build works run: | docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} west build -b ${{ matrix.native_board }} zephyr/samples/hello_world + + - name: Ensure zephyr twister unit tests works + run: | + docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} ./zephyr/scripts/twister -p ${{ matrix.native_board }} -T zephyr/samples/subsys/testsuite/integration diff --git a/Dockerfile b/Dockerfile index 3e73631..682031d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,13 @@ RUN <