File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 66
77env :
88 PACT_BROKER_BASE_URL : ${{ secrets.PACT_BROKER_BASE_URL }}
9- PACT_PROVIDER : ${{ env.PACT_PROVIDER }}
9+ PACT_PROVIDER : pactflow-example-provider
1010 PACT_BROKER_TOKEN : ${{ secrets.PACTFLOW_TOKEN_FOR_CI_CD_WORKSHOP }}
1111 REACT_APP_API_BASE_URL : http://localhost:3001
1212 GIT_COMMIT : ${{ github.sha }}
1515jobs :
1616 test :
1717 runs-on : ubuntu-latest
18- strategy :
19- matrix :
20- pact_provider : [
21- # "pactflow-example-bi-directional-provider-dredd",
22- # "pactflow-example-bi-directional-provider-restassured",
23- # "pactflow-example-bi-directional-provider-postman",
24- ' pactflow-example-provider'
25- ]
2618 steps :
2719 - uses : actions/checkout@v3
2820 - uses : actions/setup-node@v3
@@ -32,12 +24,12 @@ jobs:
3224 run : npm i
3325 - name : Test
3426 env :
35- PACT_PROVIDER : ${{ matrix.pact_provider }}
27+ PACT_PROVIDER : ${{ env.PACT_PROVIDER }}
3628 run : make test
37- - name : Publish pacts between pactflow-example-consumer and ${{ matrix.pact_provider }}
29+ - name : Publish pacts between pactflow-example-consumer and ${{ env.PACT_PROVIDER }}
3830 run : GIT_BRANCH=${GIT_REF:11} make publish_pacts
3931 env :
40- PACT_PROVIDER : ${{ matrix.pact_provider }}
32+ PACT_PROVIDER : ${{ env.PACT_PROVIDER }}
4133
4234 # Runs on branches as well, so we know the status of our PRs
4335 can-i-deploy :
You can’t perform that action at this time.
0 commit comments