This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git

commit 9be2b107fcf2b0b33af10e2a8f74b8e80739d165
Author: Szymon Janc <[email protected]>
AuthorDate: Thu Oct 22 00:14:10 2026 +0200

    ci: Run unit tests
    
    Run go test for all packages on every OS in the build matrix. On
    Linux run it with the race detector enabled.
    
    Assisted-by: Claude:claude-opus-5-5
---
 .github/workflows/build.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b7b4c07..55f23e8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -47,3 +47,11 @@ jobs:
              newtmgr
              newtmgr help
              newtmgr version
+      - name: Unit tests
+        shell: bash
+        run: |
+             if [ "$RUNNER_OS" = "Linux" ]; then
+                 go test -race ./...
+             else
+                 go test ./...
+             fi

Reply via email to