Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Add twister unit test check to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Himel55 authored Jan 9, 2024
1 parent 0d73e71 commit e902841
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} west twister -p ${{ matrix.native_board }} -T zephyr/samples/subsys/testsuite/integration
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} west twister -p ${{ matrix.native_board }} -T zephyr/samples/subsys/testsuite/integration

0 comments on commit e902841

Please sign in to comment.