mirror of
https://github.com/pldubouilh/gossa
synced 2026-05-03 18:30:47 +02:00
test gh actions
This commit is contained in:
parent
cb6f09343e
commit
ff59dbe090
2 changed files with 23 additions and 0 deletions
22
.github/workflows/go.yml
vendored
Normal file
22
.github/workflows/go.yml
vendored
Normal 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
Makefile
1
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue