From 12fab8eb3bb678267e171b0a194baa1aa8aeccb7 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Sat, 4 Nov 2023 13:32:43 +1100 Subject: [PATCH] chore: Black box tests require the plugin to be installed --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 397f051..42d9894 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,10 @@ jobs: RUST_LOG: debug RUST_BACKTRACE: 1 - name: Black box Tests - run: cargo test --test '*' -- --skip verify_plugin + run: | + mkdir -p ~/.pact/plugins/protobuf-debug + cp pact-plugin.json target/debug/pact-protobuf-plugin ~/.pact/plugins/protobuf-debug/ + cargo test --test '*' -- --skip verify_plugin env: RUST_LOG: debug RUST_BACKTRACE: 1