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:
|
jobs:
|
||||||
test-windows:
|
test-windows:
|
||||||
runs-on: [ self-hosted, Windows]
|
runs-on: [ self-hosted, Windows ]
|
||||||
name: Test on Windows
|
name: Test on Windows
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
|
||||||
test-ubuntu:
|
test-ubuntu:
|
||||||
runs-on: [ self-hosted, Linux]
|
runs-on: [ self-hosted, Linux ]
|
||||||
name: Test on Ubuntu
|
name: Test on Ubuntu
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -37,4 +37,17 @@ jobs:
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
env:
|
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