Skip to content

Commit

Permalink
Add test for micro run . (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
crufter committed Sep 10, 2020
1 parent 0cbd637 commit a7d035d
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/integration.yml
Expand Up @@ -36,6 +36,13 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@master

- name: Install Protoc Gen Micro
working-directory: ./cmd/protoc-gen-micro
run: go install

- name: Install Protoc Gen Go
run: go get -u github.com/golang/protobuf/protoc-gen-go

- name: Install micro
run: |
go install # this is used by the tests themselves
Expand Down Expand Up @@ -69,5 +76,5 @@ jobs:
# Generate keys for JWT tests
ssh-keygen -f /tmp/sshkey -m pkcs8 -q -N ""
ssh-keygen -f /tmp/sshkey -e -m pkcs8 > /tmp/sshkey.pub
go clean -testcache && go test --tags=integration -v ./...
go clean -testcache && go test --tags=integration -v -run ./...
9 changes: 7 additions & 2 deletions go.mod
Expand Up @@ -9,7 +9,8 @@ require (
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
github.com/cloudflare/cloudflare-go v0.10.9 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
github.com/dustin/go-humanize v1.0.0
github.com/fsnotify/fsnotify v1.4.9
github.com/go-acme/lego/v3 v3.4.0
Expand All @@ -20,7 +21,7 @@ require (
github.com/hashicorp/go-version v1.2.1
github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b
github.com/micro/cli/v2 v2.1.2
github.com/micro/go-micro/v3 v3.0.0-beta.2.0.20200909134002-acd3bea0c6ec
github.com/micro/go-micro/v3 v3.0.0-beta.2.0.20200910123636-04d2aa469605
github.com/micro/go-plugins/broker/nats/v3 v3.0.0-20200908121001-4ea6f6760baf
github.com/micro/go-plugins/events/stream/nats/v3 v3.0.0-20200908121001-4ea6f6760baf
github.com/micro/go-plugins/metrics/prometheus/v3 v3.0.0-20200908121001-4ea6f6760baf
Expand All @@ -42,3 +43,7 @@ require (
)

replace google.golang.org/grpc => google.golang.org/grpc v1.26.0

replace github.com/micro/go-micro/v3 => github.com/micro/go-micro/v3 v3.0.0-beta.2.0.20200910094029-65bbbf5f6634

// replace github.com/micro/go-micro/v3 => /home/crufter/code/src/github.com/micro/go-micro

0 comments on commit a7d035d

Please sign in to comment.