Skip to content

PP-12590 Run pact tests on PRs #4

PP-12590 Run pact tests on PRs

PP-12590 Run pact tests on PRs #4

Workflow file for this run

name: PR
on:
pull_request:
permissions:
contents: read
jobs:
tests:
uses: alphagov/pay-ci/.github/workflows/_run-node-tests.yml@pp_12590_reusable_workflows
with:
consumer_tag: ${{ github.event.pull_request.number }}
publish_pacts: true
run_cypress_tests: true
secrets:
pact_broker_username: ${{ secrets.pact_broker_username }}
pact_broker_password: ${{ secrets.pact_broker_password }}
pact-providers-contract-tests:
name: "Provider tests"
needs: publish-consumer-contracts

Check failure on line 22 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / PR

Invalid workflow file

The workflow is not valid. .github/workflows/pr.yml (Line: 22, Col: 12): Job 'pact-providers-contract-tests' depends on unknown job 'publish-consumer-contracts'.
uses: alphagov/pay-ci/.github/workflows/_run-provider-pact-tests-for-consumer.yml@pp_12590_reusable_workflows
strategy:
matrix:
provider: [ 'adminusers', 'connector', 'ledger', 'products' ]
with:
consumer: selfservice
consumer_tag: ${{ github.event.pull_request.number }}
provider: ${{ matrix.provider }}
secrets:
pact_broker_username: ${{ secrets.pact_broker_username }}
pact_broker_password: ${{ secrets.pact_broker_password }}