Hi all, I am executing my provider verification t...
# general
a
Hi all, I am executing my provider verification tests and was hoping to be able to verify all consumer contracts that are deployed, released, or deployed to the "main" branch using the
consumerVersionSelectors
option, but I am getting an error from
pact_verifier
reporting "_cannot specify the field mainBranch with the field deployedOrReleased_". I was wondering if there is a reason why this is not allowed?
👋 1
m
They can't be in the same selector but they can be on separate selectors. I.e. you can't verify all consumers that have been deployed and are on the main branch How are you setting it up?
a
Thank you Matt - I now realise that I had misunderstood the config, and see now that
consumerVersionSelectors
is an array. Sorry for bothering you!
🙌 1
m
Np