Skip to content

Commit

Permalink
fix go test (go-kratos#576)
Browse files Browse the repository at this point in the history
* fix go test

* fix docker compose

Co-authored-by: chenzhihui <[email protected]>
  • Loading branch information
Tony and tonybase authored Apr 30, 2020
1 parent d29dfdf commit cbc3b03
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...

0 comments on commit cbc3b03

Please sign in to comment.