Skip to content

Commit

Permalink
Merge pull request #372 from pact-foundation/ci/tests
Browse files Browse the repository at this point in the history
Ci/tests
  • Loading branch information
YOU54F committed Jan 19, 2024
2 parents 86cde8e + db8d08c commit 250ab07
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 1,250 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ deps: download_plugins
download_plugins:
@echo "--- 🐿 Installing plugins"; \
./scripts/install-cli.sh
~/.pact/bin/pact-plugin-cli -y install https://github.com/pactflow/pact-protobuf-plugin/releases/tag/v-0.3.4
~/.pact/bin/pact-plugin-cli -y install https://github.com/pactflow/pact-protobuf-plugin/releases/tag/v-0.3.8
~/.pact/bin/pact-plugin-cli -y install https://github.com/pact-foundation/pact-plugins/releases/tag/csv-plugin-0.0.1
~/.pact/bin/pact-plugin-cli -y install https://github.com/mefellows/pact-matt-plugin/releases/tag/v0.0.9
~/.pact/bin/pact-plugin-cli -y install https://github.com/austek/pact-avro-plugin/releases/tag/v0.0.4
~/.pact/bin/pact-plugin-cli -y install https://github.com/austek/pact-avro-plugin/releases/tag/v0.0.3

cli:
@if [ ! -d pact/bin ]; then\
Expand Down
2 changes: 1 addition & 1 deletion consumer/http_v4_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func TestHttpV4TypeSystem(t *testing.T) {
UponReceiving("some scenario").
UsingPlugin(PluginConfig{
Plugin: "protobuf",
Version: "0.3.0",
Version: "0.3.8",
}).
WithRequest("GET", "/").
// WithRequest("GET", "/", func(b *V4InteractionWithPluginRequestBuilder) {
Expand Down
2 changes: 1 addition & 1 deletion examples/avro/avro_consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestAvroHTTP(t *testing.T) {
UponReceiving("A request to do get some Avro stuff").
UsingPlugin(consumer.PluginConfig{
Plugin: "avro",
Version: "0.0.4",
Version: "0.0.3",
}).
WithRequest("GET", "/avro").
WillRespondWith(200, func(res *consumer.V4InteractionWithPluginResponseBuilder) {
Expand Down
2 changes: 1 addition & 1 deletion examples/grpc/grpc_consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestGrpcInteraction(t *testing.T) {
Given("feature 'Big Tree' exists").
UsingPlugin(message.PluginConfig{
Plugin: "protobuf",
Version: "0.3.4",
Version: "0.3.8",
}).
WithContents(grpcInteraction, "application/protobuf").
StartTransport("grpc", "127.0.0.1", nil). // For plugin tests, we can't assume if a transport is needed, so this is optional
Expand Down
63 changes: 0 additions & 63 deletions examples/pacts/MattConsumer-MattProvider.json

This file was deleted.

50 changes: 0 additions & 50 deletions examples/pacts/PactGoProductAPIConsumer-PactGoProductAPI.json

This file was deleted.

102 changes: 0 additions & 102 deletions examples/pacts/PactGoV2Consumer-V2Provider.json

This file was deleted.

86 changes: 0 additions & 86 deletions examples/pacts/PactGoV2ConsumerAllInOne-V2Provider.json

This file was deleted.

0 comments on commit 250ab07

Please sign in to comment.