1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-22 03:38:41 +02:00

fix go test (#576)

* fix go test

* fix docker compose

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
This commit is contained in:
Tony 2020-04-30 17:14:58 +08:00 committed by GitHub
parent d29dfdfd67
commit cbc3b03a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,12 @@ jobs:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
sudo rm /usr/local/bin/docker-compose
curl -L https://github.com/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin
- name: Build
run: go build -v ./...
run: go build ./...
- name: Test
run: go test -v ./...
run: go test ./...