Skip to content

Commit d3a07d0

Browse files
committed
test ruby 2.7.8 only with 3.1.0 selected in the matrix
1 parent 91711c8 commit d3a07d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ jobs:
3333
run: bundle exec rake oobt
3434
- name: Run example with ruby 2.7.8
3535
uses: ruby/setup-ruby@v1
36+
if: matrix.ruby-version == '3.1.0'
3637
with:
3738
ruby-version: '2.7.8'
3839
- name: Install and run demo 2.7.8
40+
if: matrix.ruby-version == '3.1.0'
3941
env:
4042
SERPAPI_KEY: ${{ secrets.SERPAPI_KEY }}
41-
run: gem install ./serpapi-*.gem && ruby demo/demo.rb
43+
run: |
44+
gem install ./serpapi-*.gem
45+
ruby demo/demo.rb

0 commit comments

Comments
 (0)