Drop support for Ruby 2.7 and Prawn 2.3 #197
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test on ruby ${{ matrix.ruby_version }} | |
runs-on: ubuntu-latest | |
# Run this build only on either pull request or push. | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
strategy: | |
matrix: | |
ruby_version: | |
- '3.0' | |
- '3.1' | |
- '3.2' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hidakatsuya/action-setup-diff-pdf@v1 | |
with: | |
diff-pdf-version: '0.5' | |
- name: Set up Ruby ${{ matrix.ruby_version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
- name: Install dependencies | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: Run Tests | |
run: xvfb-run -a bundle exec rake test |