Skip to content

Commit

Permalink
Merge pull request #135 from thinreports/test-against-prawn2.5.0
Browse files Browse the repository at this point in the history
Test against prawn 2.5
  • Loading branch information
hidakatsuya authored Mar 11, 2024
2 parents cff7209 + e3170f1 commit fbdad18
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
setup:
name: Ruby ${{ matrix.ruby }}
name: Ruby ${{ matrix.ruby }} with prawn ${{ matrix.prawn }}

runs-on: ubuntu-latest

Expand All @@ -20,6 +20,9 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
prawn:
- "2.4"
- "2.5"

steps:
- uses: actions/checkout@v4
Expand All @@ -34,6 +37,9 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Install dependencies
run: bundle install --gemfile gemfiles/prawn-${{ matrix.prawn }}.gemfile --jobs 4 --retry 3

- name: Run tests for main
run: bundle exec rake test:main

Expand Down
5 changes: 5 additions & 0 deletions gemfiles/prawn-2.4.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gem 'prawn', '~> 2.4.0'

gemspec path: '../'
6 changes: 6 additions & 0 deletions gemfiles/prawn-2.5.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'prawn', '~> 2.5.0'

gemspec path: '../'

0 comments on commit fbdad18

Please sign in to comment.