CI build, lint & test tube backend.

Fixed some tests, let some failing test still fail, to be fixed

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
Guillaume Tardif 2021-01-26 17:35:21 +01:00
parent 0d778fbf48
commit ecdc170938
5 changed files with 76 additions and 42 deletions

View file

@ -29,9 +29,11 @@ jobs:
run: make import-restrictions
- name: Run golangci-lint
env:
BUILD_TAGS: kube,e2e
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.33.0
./golangci-lint run --timeout 10m0s
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b /usr/bin/ v1.33.0
make -f builder.Makefile lint
build:
name: Build
@ -64,6 +66,8 @@ jobs:
run: make -f builder.Makefile cross
- name: Test
env:
BUILD_TAGS: kube
run: make -f builder.Makefile test
- name: Build for local E2E