Thomas K
04/11/2022, 1:34 PMConfigure your consumer build to run the Pact tests and publish its pact to the Broker as part of its main build (consult the documentation for your chosen language). Consumer Pact tests typically run after the unit tests, and before deploying to a test environment.
If I have unit tests and pact tests etc running on every PR build, on different feature or task branches (e.g. feature/PACT-101-do-something-cool), should I publish it to pact broker as part of this PR build, using commit sha and branch (e.g. HEAD), or do I only do it on PR approval, at which point the feature branch merges into develop branch? (we follow git flow consumer side)Matt (pactflow.io / pact-js / pact-go)
Thomas K
04/11/2022, 1:35 PMThomas K
04/11/2022, 1:36 PMHEAD then along with the git shaMatt (pactflow.io / pact-js / pact-go)
master or mainMatt (pactflow.io / pact-js / pact-go)
Thomas K
04/11/2022, 1:39 PMThomas K
04/11/2022, 1:40 PMThomas K
04/11/2022, 1:40 PMdevelop branchThomas K
04/11/2022, 1:40 PMdevelop branchMatt (pactflow.io / pact-js / pact-go)
tag so I gave you the equivalentMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Slackbot
04/11/2022, 1:41 PMThomas K
04/11/2022, 1:42 PMThomas K
04/13/2022, 10:37 AMThomas K
04/13/2022, 10:37 AMThomas K
04/13/2022, 10:38 AMThomas K
04/13/2022, 10:39 AMThomas K
04/14/2022, 9:51 AMMatt (pactflow.io / pact-js / pact-go)
Thomas K
04/14/2022, 10:13 AMThomas K
04/14/2022, 10:13 AMMatt (pactflow.io / pact-js / pact-go)