Skip to content

Commit

Permalink
fix: remove old v2 pact tests from build
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed May 30, 2021
1 parent 69eaf4f commit 05c3ca4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TEST?=./...
.DEFAULT_GOAL := ci

# ci:: clean deps bin pactv3
ci:: docker deps clean bin test pactv3 pact #goveralls
ci:: docker deps clean bin test pact #goveralls

docker:
@echo "--- 🛠 Starting docker"
Expand All @@ -29,7 +29,6 @@ deps:
goveralls:
goveralls -service="travis-ci" -coverprofile=coverage.txt -repotoken $(COVERALLS_TOKEN)

install:
@if [ ! -d pact/bin ]; then\
echo "--- 🐿 Installing Pact CLI dependencies"; \
curl -fsSL https://raw.githubusercontent.com/pact-foundation/pact-ruby-standalone/master/install.sh | bash -x; \
Expand All @@ -38,12 +37,7 @@ install:
installv3: bin
./build/pact-go -l DEBUG install --libDir /tmp

pact: install docker
@echo "--- 🔨 Running Pact examples"
go test -v -tags=consumer -count=1 github.com/pact-foundation/pact-go/examples/v2/... -run TestExample
go test -v -tags=provider -count=1 github.com/pact-foundation/pact-go/examples/v2/... -run TestExample

pactv3: clean #installv3
pact: clean #installv3 docker
@echo "--- 🔨 Running Pact examples"
mkdir -p ./examples/v3/pacts
go test -v -tags=consumer -count=1 github.com/pact-foundation/pact-go/examples/v3/...
Expand Down

0 comments on commit 05c3ca4

Please sign in to comment.