From 772ace9fb51f68fd42912c133fbeaadc84a1029b Mon Sep 17 00:00:00 2001 From: redanthrax Date: Tue, 28 Jun 2022 09:10:04 -0700 Subject: [PATCH] added mac runner --- .github/workflows/tests.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8309a18..298a7fb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: jobs: test-windows: - runs-on: [ self-hosted, Windows] + runs-on: [ self-hosted, Windows ] name: Test on Windows steps: @@ -24,7 +24,7 @@ jobs: CGO_ENABLED: 0 test-ubuntu: - runs-on: [ self-hosted, Linux] + runs-on: [ self-hosted, Linux ] name: Test on Ubuntu steps: @@ -37,4 +37,17 @@ jobs: - name: Test run: go test -v ./... env: - CGO_ENABLED: 0 \ No newline at end of file + CGO_ENABLED: 0 + test-macos: + runs-on: [ self-hosted, macOS ] + name: Test on MacOS + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-go@v3 + with: + go-version-file: 'go.mod' + + - name: Test + run: go test -v ./... \ No newline at end of file