Skip to content

Test with multiple kt-paperclip versions #5

Test with multiple kt-paperclip versions

Test with multiple kt-paperclip versions #5

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
rspec:
strategy:
fail-fast: false
matrix:
gemfile: [
gemfiles/Gemfile.kt-paperclip-6.2.x,
gemfiles/Gemfile.kt-paperclip-6.4.x,
gemfiles/Gemfile.kt-paperclip-7.0.x,
gemfiles/Gemfile.kt-paperclip-7.1.x,
gemfiles/Gemfile.kt-paperclip-7.2.x,
Gemfile
]
ruby: [2.6, 2.7]
runs-on: ubuntu-latest
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false # testing with multiple gemfiles
- run: bundle exec rake