Sha256: 2ad7012528c7b75df1d15844c91afe5214692cec575f11331be54e8ce4efa972

Contents?: true

Size: 864 Bytes

Versions: 1

Compression:

Stored size: 864 Bytes

Contents

name: CI

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    name: Ruby ${{ matrix.ruby }} / Active Record ${{ matrix.activerecord }}
    strategy:
      matrix:
        ruby: ['2.6', '2.7', '3.0']
        activerecord: ['6.0', '6.1', 'edge']
        exclude:
          - ruby: '2.6'
            activerecord: 'edge'
    env:
      BUNDLE_GEMFILE: gemfiles/Gemfile.activerecord-${{ matrix.activerecord }}
    steps:
    - name: Check out code
      uses: actions/checkout@v2
    - name: Set up Ruby ${{ matrix.ruby }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true
    - name: Start MySQL and create DB
      run: |
        sudo systemctl start mysql.service
        mysql -uroot -proot -e 'create database pedant_mysql2_test;'
    - name: Ruby Tests
      run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-pedantmysql2-adapter-1.3.0 .github/workflows/ci.yml