added mac runner
This commit is contained in:
parent
3c453f6ccb
commit
772ace9fb5
1 changed files with 16 additions and 3 deletions
19
.github/workflows/tests.yml
vendored
19
.github/workflows/tests.yml
vendored
|
|
@ -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
|
||||
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 ./...
|
||||
Loading…
Add table
Add a link
Reference in a new issue