]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
ci: execute tests after successful build (#243)
authorTobias Heider <tobhe@users.noreply.github.com>
Mon, 4 Sep 2023 13:53:10 +0000 (15:53 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2023 13:53:10 +0000 (14:53 +0100)
.github/workflows/build.yml

index caacf7b57b03aff512bb5c4556e496438a6e3441..60cb8225695876453ab98a2040195817ca977760 100644 (file)
@@ -25,6 +25,9 @@ jobs:
     - name: Build
       run: make
 
+    - name: Tests
+      run: make tests
+
   openbsd:
     runs-on: macos-12
     steps:
@@ -46,6 +49,12 @@ jobs:
         echo "building"
         make
 
+    - name: Tests
+      run: |
+        ulimit -n 1024
+        cd build
+        make tests
+
   freebsd:
     runs-on: macos-12
     steps:
@@ -67,6 +76,11 @@ jobs:
         echo "building"
         make
 
+    - name: Tests
+      run: |
+         cd build
+         make tests
+
   netbsd:
     runs-on: macos-12
     steps:
@@ -84,3 +98,8 @@ jobs:
         ./configure --prefix=/usr
         echo "building"
         make
+
+    - name: Tests
+      run: |
+        cd build
+        make tests