File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 1313
1414jobs :
1515 test :
16- runs-on : ubuntu-latest
16+ runs-on : ${{ matrix.os }}
1717 strategy :
1818 matrix :
19- # note currently PACT_PROVIDER isn't used in the code
20- pact_provider :
21- [
22- " pactflow-example-provider-python" ,
23- # "pactflow-example-bi-directional-provider-dredd",
24- # "pactflow-example-bi-directional-provider-restassured",
25- # "pactflow-example-bi-directional-provider-postman",
26- # "pactflow-example-bi-directional-provider",
27- # 'pactflow-example-bi-directional-provider-dotnet'
28- ]
19+ os : [ubuntu-latest, windows-latest, macos-latest]
20+ defaults :
21+ run :
22+ shell : bash
2923 steps :
3024 - uses : actions/checkout@v4
3125 - uses : actions/setup-python@v4
3529 - run : pip install -r requirements.txt
3630 - name : Test pactflow-example-consumer-python against ${{ matrix.pact_provider }}
3731 run : make test
38- env :
39- PACT_PROVIDER : ${{ matrix.pact_provider }}
4032 - name : Publish pacts
4133 run : GIT_BRANCH=${GIT_REF:11} make publish_pacts
42- env :
43- PACT_PROVIDER : ${{ matrix.pact_provider }}
34+ if : matrix.os == 'ubuntu-latest'
4435
4536 # Runs on branches as well, so we know the status of our PRs
4637 can-i-deploy :
You can’t perform that action at this time.
0 commit comments