test gh actions

This commit is contained in:
Pierre Dubouilh
2019-08-21 10:26:20 +02:00
committed by Pierre Dubouilh
parent cb6f09343e
commit ff59dbe090
2 changed files with 23 additions and 0 deletions
+22
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
+1
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