Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
honnix committed Jan 3, 2020
1 parent 7c18213 commit 9517447
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: required
language: go
go:
- "1.13"
- "1.13.x"
services:
- docker
jobs:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ test: # ensures generate_protos script has been run
go mod download
./generate_mocks.sh
go generate ./...
go mod tidy
DELTA_CHECK=true ./generate_protos.sh

.PHONY: test_unit
Expand Down
2 changes: 1 addition & 1 deletion generate_mocks.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
set -x
which mockery || (GO111MODULE=off go get github.com/vektra/mockery/cmd/mockery)
which mockery || (go get github.com/vektra/mockery/cmd/mockery)

mockery -dir=gen/pb-go/flyteidl/service/ -name=AdminServiceClient -output=clients/go/admin/mocks
mockery -dir=gen/pb-go/flyteidl/datacatalog/ -name=ArtifactsClient -output=clients/go/datacatalog/mocks

0 comments on commit 9517447

Please sign in to comment.