Sha256: e2da8241b4d9b606d57263b0c7de7ae957b7c6bb335fcaaf3e83a620ec89636c

Contents?: true

Size: 886 Bytes

Versions: 1

Compression:

Stored size: 886 Bytes

Contents

name: CI

on:
  push: {}
  pull_request:
    branches: [ master ]

jobs:
  test:
    services:
      mysql:
        image: mysql:5.7
        env:
          MYSQL_ALLOW_EMPTY_PASSWORD: yes
          MYSQL_DATABASE: github_ds_test
          MYSQL_ROOT_PASSWORD: ""
        ports:
          - "3306:3306"
        options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['2.7', '3.0']
        rails-version: ['7.0.0.alpha2', '6.1.0']
    env:
      RAILS_VERSION: ${{ matrix.rails-version }}
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Run tests
      run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github-ds-0.5.3 .github/workflows/ci.yml