Test the builds in Github Actions
Consumer build
In Github:
- Open your forked
example-consumerproject (https://github.com/<your-username>/example-consumer) - Click on the
Actionstab. - Click the button with the text "I understand my workflows, go ahead and enable them"
- Under the
Workflowsmenu on the left, selectBuild. - You will see the text
This workflow has a workflow_dispatch event trigger. To the right of that text is a button with the labelRun workflow. Click the button. - Leave the branch as
masterand click the greenRun workflowbutton.
❌ The build will fail with an authentication error when it tries to publish the pact - that's expected. We need to update the configuration to point it at your new PactFlow account.
Provider build
🔁 Repeat the above instructions to configure the PactFlow account for your provider project.
Expected state by the end of this step
- Both consumer and provider builds failing with authentication errors ❌