Hi! We are using <pact_erlang> for provider verifi...
# libpact_ffi-users
s
Hi! We are using pact_erlang for provider verification. I am going through the steps described as Pact nirvana to take us from local flow to full integration with our CI/CD workflows. I wish to modify the provider tests to have two options (as described here): 1. Run tests in CI/CD and publish verification results 2. Run tests locally agains latest pacts and do not publish the results I am trying to figure out the best option for doing that. I dug through the pact_ffi library but didn't see any option I can provide to easily use some flag to say "_Don't publish the results_". Any suggestions?
āœ… 1
r
s
pact_erlang is using that. What are the options to provide it so it wouldn't publish the results? 😮 The params are: • handle • provider version • build URL • provider tags • provider tags len • provider branch Nothing intuitive popped out for me on initial look yesterday, hence my question šŸ¤”
r
By default it won't publish anything if you don't call that function
šŸ™Œ 1
s
Ah! Makes sense. I could create a param to switch it off on demand.
r
I suppose we could add a
do_not_publish
function to make it explicit, but it will just be clearing what that function sets.
I will update the docs to indicate that if you don't call it, publishing is disabled
s
I think adding some comment to the existing function, that if one wishes to not publish the results, leave it unconfigured/called, would also be good
Same thoughts šŸ˜„ šŸ‘šŸ¼
šŸ‘ 1