Skip to content

Add concurrent-ruby to gemfiles to fix tests in Rails < 7.1 #127

Add concurrent-ruby to gemfiles to fix tests in Rails < 7.1

Add concurrent-ruby to gemfiles to fix tests in Rails < 7.1 #127

Workflow file for this run

---
on: [push]
name: LargeTextField Build
jobs:
test:
name: Test
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
fail-fast: false
matrix:
ruby: [3.1, 3.2, 3.3]
gemfile:
- Gemfile
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
DATABASE_MYSQL_HOST: 127.0.0.1
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler: 2.4.13
bundler-cache: true
- run: bundle exec rake db:create db:migrate RAILS_ENV=test
- run: bundle exec rake test