removed workflow, added test to ci
This commit is contained in:
parent
b9fc19c733
commit
0134daa2e2
2 changed files with 14 additions and 18 deletions
17
.github/workflows/build-test.yml
vendored
17
.github/workflows/build-test.yml
vendored
|
|
@ -1,17 +0,0 @@
|
||||||
name: Run tests on all
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ BigRefactor ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: [ self-hosted ]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@v2
|
|
||||||
with:
|
|
||||||
go-version: 1.18.3
|
|
||||||
- name: Test
|
|
||||||
run: go test -v ./...
|
|
||||||
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -11,7 +11,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Run tests
|
name: Run Build Tests
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
@ -47,3 +47,16 @@ jobs:
|
||||||
for i in ${ARCHS}; do
|
for i in ${ARCHS}; do
|
||||||
env CGO_ENABLED=0 GOOS=freebsd GOARCH=${i} go build -ldflags "-s -w"
|
env CGO_ENABLED=0 GOOS=freebsd GOARCH=${i} go build -ldflags "-s -w"
|
||||||
done
|
done
|
||||||
|
test-windows:
|
||||||
|
runs-on: [ self-hosted, Windows]
|
||||||
|
name: Test on Windows
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: '1.18.3'
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: go test -v ./...
|
||||||
Loading…
Add table
Add a link
Reference in a new issue