Skip to content

Add image files

Add image files #145

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['jruby', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
gemfile: ['Gemfile.rbpdf-font']
include:
- { ruby: 'jruby', gemfile: 'Gemfile.rails7' }
- { ruby: '2.3', gemfile: 'Gemfile.rails5' }
- { ruby: '2.3', gemfile: 'Gemfile.rails5_rmagick' }
- { ruby: '2.3', gemfile: 'Gemfile.rails5_mini_magick' }
- { ruby: '2.4', gemfile: 'Gemfile.rails5' }
- { ruby: '2.4', gemfile: 'Gemfile.rails5_rmagick' }
- { ruby: '2.4', gemfile: 'Gemfile.rails5_mini_magick' }
- { ruby: '2.5', gemfile: 'Gemfile.rails6' }
- { ruby: '2.5', gemfile: 'Gemfile.rails6_rmagick' }
- { ruby: '2.5', gemfile: 'Gemfile.rails6_mini_magick' }
- { ruby: '2.6', gemfile: 'Gemfile.rails6' }
- { ruby: '2.6', gemfile: 'Gemfile.rails6_rmagick' }
- { ruby: '2.6', gemfile: 'Gemfile.rails6_mini_magick' }
- { ruby: '2.7', gemfile: 'Gemfile.rails7' }
- { ruby: '2.7', gemfile: 'Gemfile.rails7_rmagick' }
- { ruby: '2.7', gemfile: 'Gemfile.rails7_mini_magick' }
- { ruby: '3.0', gemfile: 'Gemfile.rails7' }
- { ruby: '3.0', gemfile: 'Gemfile.rails7_rmagick' }
- { ruby: '3.0', gemfile: 'Gemfile.rails7_mini_magick' }
- { ruby: '3.1', gemfile: 'Gemfile.rails7' }
- { ruby: '3.1', gemfile: 'Gemfile.rails7_rmagick' }
- { ruby: '3.1', gemfile: 'Gemfile.rails7_mini_magick' }
- { ruby: '3.2', gemfile: 'Gemfile.rails7' }
- { ruby: '3.2', gemfile: 'Gemfile.rails7_rmagick' }
- { ruby: '3.2', gemfile: 'Gemfile.rails7_mini_magick' }
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
name: Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: rbpdf-font tests
id: rbpdf-font
if: contains(matrix.gemfile, 'rbpdf-font')
run: bundle install && cd rbpdf-font && rake test
- name: rbpdf tests
id: rbpdf
if: steps.rbpdf-font.conclusion == 'skipped'
run: bundle exec rake test