]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
build: Run unit tests for native builds
authorDaniel Wagner <dwagner@suse.de>
Tue, 3 Jan 2023 18:04:37 +0000 (19:04 +0100)
committerDaniel Wagner <dwagner@suse.de>
Tue, 3 Jan 2023 18:04:37 +0000 (19:04 +0100)
Run the unit tests when building nativily.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
.github/workflows/meson.yml

index f3766340018924d03d07881e7d7fdb6e87a597a0..fd09d0f5c1fe22a6863628f960a1b919bfb0bc05 100644 (file)
@@ -19,14 +19,10 @@ jobs:
       - uses: actions/setup-python@v4
         with:
           python-version: '3.x'
-      # - name: install python dependencies
-      #   run: |
-      #     python -m pip install --upgrade pip
-      #     pip install nose nose2
       - uses: BSFishy/meson-build@v1.0.3
         with:
           setup-options: --werror
-          action: build
+          action: test
 
   build-cross-armhf:
     runs-on: ubuntu-latest
@@ -101,7 +97,7 @@ jobs:
         with:
           setup-options: --werror -Dopenssl:werror=false --wrap-mode=forcefallback
           options: --verbose
-          action: build
+          action: test
           meson-version: 0.61.2
 
   build-static:
@@ -117,5 +113,5 @@ jobs:
         with:
           setup-options: --werror -Dopenssl:werror=false --wrap-mode=forcefallback --default-library=static
           options: --verbose
-          action: build
+          action: test
           meson-version: 0.61.2