Skip to content

Move unpack to deserialize #40

Move unpack to deserialize

Move unpack to deserialize #40

Workflow file for this run

name: CI
on: [ push, pull_request_target ]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
continue-on-error: true
strategy:
matrix:
ruby-version:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
rails-version:
- "5.2.8"
- "6.1.6"
- "7.0.0"
- "7.0.1"
- "7.0.2"
- "7.0.3.1"
- "7.0.4.1"
exclude:
- { ruby-version: "3.0", rails-version: "5.2.8" }
- { ruby-version: "3.1", rails-version: "5.2.8" }
- { ruby-version: "3.1", rails-version: "7.0.0" } # See fixed Ruby 3.1 <> Rails 7.0.0 incompatibility: https://github.com/rails/rails/releases/tag/v7.0.1
- { ruby-version: "3.2", rails-version: "5.2.8" }
- { ruby-version: "3.2", rails-version: "7.0.0" }
name: tests (ruby-${{ matrix.ruby-version }}, rails-${{ matrix.rails-version }})
runs-on: ubuntu-latest
env:
MYSQL_HOST: '127.0.0.1'
RAILS_VERSION: ${{ matrix.rails-version }}
services:
mysql:
image: mysql:8
ports:
- "3306:3306"
env:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
options: --health-cmd "mysqladmin ping" --health-interval 5s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby-version }}
- run: bundle update activerecord
- run: bundle exec rake