Skip to content

Commit

Permalink
ci: run tests on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Aug 20, 2024
1 parent b65eee9 commit 14849a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest']
go-version: ['stable', 'oldstable']
env:
GOEXPERIMENT: cgocheck2
name: Go (${{ matrix.go-version }})
name: Go (${{ matrix.os }}, Go ${{ matrix.go-version }})
steps:
-
uses: actions/checkout@v4
Expand Down Expand Up @@ -56,4 +57,5 @@ jobs:
env:
PKG_CONFIG_PATH: ${{ github.workspace }}/fswatch/target/lib/pkgconfig
LD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
DYLD_LIBRARY_PATH: ${{ github.workspace }}/fswatch/target/lib
run: go test -race

0 comments on commit 14849a8

Please sign in to comment.