Skip to content

Commit 7194e48

Browse files
committed
ci: run tests on macOS
1 parent b65eee9 commit 7194e48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ permissions:
1111
contents: read
1212
jobs:
1313
tests:
14-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
18+
os: ['ubuntu-latest', 'macos-latest']
1819
go-version: ['stable', 'oldstable']
1920
env:
2021
GOEXPERIMENT: cgocheck2
@@ -56,4 +57,5 @@ jobs:
5657
env:
5758
PKG_CONFIG_PATH: ${{ github.workspace }}/fswatch/target/lib/pkgconfig
5859
LD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
60+
DYLD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
5961
run: go test -race

0 commit comments

Comments
 (0)