Skip to content

Commit 48d8819

Browse files
authored
test: ps1 installer windows for pact-cli
1 parent 8f1785a commit 48d8819

File tree

1 file changed

+64
-64
lines changed

1 file changed

+64
-64
lines changed

.github/workflows/test.yml

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
ruby_version: ["3.2", "3.3", "3.4"]
19-
os: ["ubuntu-latest","windows-latest","macos-latest"]
18+
ruby_version: ["3.4"]
19+
os: ["windows-latest"]
2020
steps:
2121
- uses: actions/checkout@v5
2222
- uses: ruby/setup-ruby@v1
@@ -25,7 +25,7 @@ jobs:
2525
bundler-cache: true
2626
env:
2727
BUNDLE_WITH: v2
28-
- uses: pact-foundation/pact-cli@main
28+
- uses: pact-foundation/pact-cli@test/ps1
2929
- run: pact plugin install --yes https://github.com/mefellows/pact-matt-plugin/releases/tag/v0.1.1
3030
- name: Test Pact-Ruby Specs
3131
run: "bundle exec rake"
@@ -62,65 +62,65 @@ jobs:
6262
env:
6363
BUNDLE_WITH: v2
6464

65-
test-with-rack-2:
66-
runs-on: ${{ matrix.os }}
67-
strategy:
68-
fail-fast: false
69-
matrix:
70-
ruby_version: ["3.2", "3.3", "3.4"]
71-
os: ["ubuntu-latest","windows-latest","macos-latest"]
72-
steps:
73-
- uses: actions/checkout@v5
74-
- uses: ruby/setup-ruby@v1
75-
with:
76-
ruby-version: ${{ matrix.ruby_version }}
77-
bundler-cache: true
78-
env:
79-
BUNDLE_WITH: v2
80-
- uses: pact-foundation/pact-cli@main
81-
- run: pact plugin install --yes https://github.com/mefellows/pact-matt-plugin/releases/tag/v0.1.1
82-
- run: "bundle exec appraisal install"
83-
env:
84-
BUNDLE_WITH: v2
85-
- run: "bundle exec appraisal rack-2 rake"
86-
- run: "bundle exec appraisal rack-2 rake spec:v2"
87-
env:
88-
BUNDLE_WITH: v2
89-
- name: Test Mixed Pacts (Http/Kafaka/Grpc) - Pact-Ruby v2
90-
run: "bundle exec appraisal rack-2 rake pact:v2:spec"
91-
env:
92-
BUNDLE_WITH: v2
93-
- name: Verify Mixed Pacts (Http/Kafaka/Grpc) - Pact-Ruby v2
94-
run: "bundle exec appraisal rack-2 rake pact:v2:verify"
95-
if: matrix.os != 'windows-latest' && matrix.ruby_version > '3.0'
96-
env:
97-
BUNDLE_WITH: v2
65+
# test-with-rack-2:
66+
# runs-on: ${{ matrix.os }}
67+
# strategy:
68+
# fail-fast: false
69+
# matrix:
70+
# ruby_version: ["3.4"]
71+
# os: ["windows-latest"]
72+
# steps:
73+
# - uses: actions/checkout@v5
74+
# - uses: ruby/setup-ruby@v1
75+
# with:
76+
# ruby-version: ${{ matrix.ruby_version }}
77+
# bundler-cache: true
78+
# env:
79+
# BUNDLE_WITH: v2
80+
# - uses: pact-foundation/pact-cli@test/ps1
81+
# - run: pact plugin install --yes https://github.com/mefellows/pact-matt-plugin/releases/tag/v0.1.1
82+
# - run: "bundle exec appraisal install"
83+
# env:
84+
# BUNDLE_WITH: v2
85+
# - run: "bundle exec appraisal rack-2 rake"
86+
# - run: "bundle exec appraisal rack-2 rake spec:v2"
87+
# env:
88+
# BUNDLE_WITH: v2
89+
# - name: Test Mixed Pacts (Http/Kafaka/Grpc) - Pact-Ruby v2
90+
# run: "bundle exec appraisal rack-2 rake pact:v2:spec"
91+
# env:
92+
# BUNDLE_WITH: v2
93+
# - name: Verify Mixed Pacts (Http/Kafaka/Grpc) - Pact-Ruby v2
94+
# run: "bundle exec appraisal rack-2 rake pact:v2:verify"
95+
# if: matrix.os != 'windows-latest' && matrix.ruby_version > '3.0'
96+
# env:
97+
# BUNDLE_WITH: v2
9898

99-
test-with-active-support:
100-
runs-on: ${{ matrix.os }}
101-
strategy:
102-
fail-fast: false
103-
matrix:
104-
ruby_version: ["3.2", "3.3", "3.4"]
105-
os: ["ubuntu-latest","windows-latest","macos-latest"]
106-
defaults:
107-
run:
108-
shell: bash
109-
steps:
110-
- uses: actions/checkout@v5
111-
- uses: ruby/setup-ruby@v1
112-
with:
113-
ruby-version: ${{ matrix.ruby_version }}
114-
bundler-cache: true
115-
env:
116-
BUNDLE_WITH: v2
117-
- run: bundle install
118-
- run: "bundle exec appraisal install"
119-
name: "install active support - pact-ruby"
120-
- run: "bundle exec appraisal activesupport rake spec_with_active_support"
121-
name: "test with active support - pact-ruby"
122-
- run: "bundle exec rake spec:v2"
123-
name: "test with active support - pact-ruby v2"
124-
env:
125-
LOAD_ACTIVE_SUPPORT: 'true'
126-
BUNDLE_WITH: v2
99+
# test-with-active-support:
100+
# runs-on: ${{ matrix.os }}
101+
# strategy:
102+
# fail-fast: false
103+
# matrix:
104+
# ruby_version: ["3.2", "3.3", "3.4"]
105+
# os: ["ubuntu-latest","windows-latest","macos-latest"]
106+
# defaults:
107+
# run:
108+
# shell: bash
109+
# steps:
110+
# - uses: actions/checkout@v5
111+
# - uses: ruby/setup-ruby@v1
112+
# with:
113+
# ruby-version: ${{ matrix.ruby_version }}
114+
# bundler-cache: true
115+
# env:
116+
# BUNDLE_WITH: v2
117+
# - run: bundle install
118+
# - run: "bundle exec appraisal install"
119+
# name: "install active support - pact-ruby"
120+
# - run: "bundle exec appraisal activesupport rake spec_with_active_support"
121+
# name: "test with active support - pact-ruby"
122+
# - run: "bundle exec rake spec:v2"
123+
# name: "test with active support - pact-ruby v2"
124+
# env:
125+
# LOAD_ACTIVE_SUPPORT: 'true'
126+
# BUNDLE_WITH: v2

0 commit comments

Comments
 (0)