Test the builds in Github Actions
Consumer build
In Github:
- Open your forked
example-consumer
project (https://github.com/<your-username>/example-consumer
) - Click on the
Actions
tab. - Click the button with the text "I understand my workflows, go ahead and enable them"
- Under the
Workflows
menu 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
master
and click the greenRun workflow
button.
❌ 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 ❌