Skip to content

Commit fbdad18

Browse files
authored
Merge pull request #135 from thinreports/test-against-prawn2.5.0
Test against prawn 2.5
2 parents cff7209 + e3170f1 commit fbdad18

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
setup:
12-
name: Ruby ${{ matrix.ruby }}
12+
name: Ruby ${{ matrix.ruby }} with prawn ${{ matrix.prawn }}
1313

1414
runs-on: ubuntu-latest
1515

@@ -20,6 +20,9 @@ jobs:
2020
- "3.1"
2121
- "3.2"
2222
- "3.3"
23+
prawn:
24+
- "2.4"
25+
- "2.5"
2326

2427
steps:
2528
- uses: actions/checkout@v4
@@ -34,6 +37,9 @@ jobs:
3437
ruby-version: ${{ matrix.ruby }}
3538
bundler-cache: true
3639

40+
- name: Install dependencies
41+
run: bundle install --gemfile gemfiles/prawn-${{ matrix.prawn }}.gemfile --jobs 4 --retry 3
42+
3743
- name: Run tests for main
3844
run: bundle exec rake test:main
3945

gemfiles/prawn-2.4.gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'prawn', '~> 2.4.0'
4+
5+
gemspec path: '../'

gemfiles/prawn-2.5.gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'prawn', '~> 2.5.0'
4+
5+
gemspec path: '../'
6+

0 commit comments

Comments
 (0)