test gh actions

This commit is contained in:
Pierre Dubouilh 2019-08-21 09:48:13 +02:00 committed by Pierre Dubouilh
parent cb6f09343e
commit ff59dbe090
No known key found for this signature in database
GPG key ID: 8FE8BEDA9D4DB0D7
2 changed files with 23 additions and 0 deletions

22
.github/workflows/go.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Go
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
go-version: 1.12
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
with:
submodules: true
- name: Run
run: make ci

View file

@ -15,6 +15,7 @@ run-extra:
ci:
-@cd test-fixture && ln -s ../docker .
make build
timeout 10 make run &
sleep 11 && timeout 10 make run-extra &
cp src/gossa_test.go . && go test