]> go.fuhry.dev Git - fsnotify.git/commitdiff
Add FreeBSD testing in Github Actions (#419)
authorRoey Darwish Dror <roey.ghost@gmail.com>
Mon, 24 Jan 2022 01:28:23 +0000 (03:28 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jan 2022 01:28:23 +0000 (20:28 -0500)
Fixes #389

.github/workflows/test.yml

index 5d900bc1cc175bc0e34b318c48b738eda0a691f9..47f55d0117310e952e7cabbc4cba0f5c28f8472b 100644 (file)
@@ -30,12 +30,26 @@ jobs:
         run: |
           go test --race ./...
 
+  testFreeBSD:
+    runs-on: macos-10.15
+    name: test (freebsd, 1.17)
+    steps:
+      - uses: actions/checkout@v2
+      - name: test (freebsd, 1.17)
+        id: test
+        uses: vmactions/freebsd-vm@v0.1.5
+        with:
+          usesh: true
+          prepare: pkg install -y go
+          run: |
+            go test
+
   lint:
     runs-on: ubuntu-latest
     steps:
       - name: setup Go
         uses: actions/setup-go@v2
-        with: 
+        with:
           go-version: '1.17'
 
       - name: checkout
@@ -55,5 +69,3 @@ jobs:
         with:
           version: latest
           skip-go-installation: true
-          
-