[sync] merge master to dev: 1,[fix] cancel the depency between health… #576
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge check | |
on: [push, pull_request] | |
jobs: | |
mongo-storage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.18 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: UT | |
run: | | |
sudo docker-compose -f ./examples/dev/docker-compose.yaml up -d | |
sleep 20 | |
export TEST_DB_KIND=mongo | |
export TEST_DB_URI=mongodb://kie:[email protected]:27017/servicecomb | |
time go test -v $(go list ./... | grep -v etcd | grep -v third_party | grep -v examples) | |
- name: Build kie images | |
run: | | |
cd build | |
time bash build_docker.sh |