Skip to content

Support Rails 7.1.2 (#93) #110

Support Rails 7.1.2 (#93)

Support Rails 7.1.2 (#93) #110

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby:
- 2.5
- 2.6
- 2.7
rails:
- 5.2.0
- 6.0.0
- 6.1.0
- 7.1.2
include:
- ruby: 2.4
rails: 5.2.0
- ruby: 2.7
rails: 7.0.1
- ruby: 3.0
rails: 6.1.0
- ruby: 3.0
rails: 7.1.2
exclude:
- ruby: 2.5
rails: 7.1.2
- ruby: 2.6
rails: 7.1.2
env:
PERCONA_DB_USER: root
PERCONA_DB_PASSWORD: root
RAILS_VERSION: "~> ${{ matrix.rails }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: "Add Percona GPG key"
run: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9334A25F8507EFA5
- name: "Add Percona APT repository"
run: echo "deb http://repo.percona.com/apt `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list
- run: sudo apt-get update -qq
- run: sudo apt-get install percona-toolkit
- name: Start MySQL server
run: sudo systemctl start mysql.service
- run: bin/setup
- run: bundle exec rake