Sha256: c81c6e626e7bf4a326cfd1728bd72d867690f920ffd03e81ecbf21a82124488a

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

name: CI

on:
  push:
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '2.7'
          - '3.0'
          - '3.1'
          - '3.2'
          - '3.3'
        gemfile:
          - rails_6.0
          - rails_6.1
          - rails_7.0
          - rails_7.1
    name: Run test with Ruby ${{ matrix.ruby }} and Gemfile ${{ matrix.gemfile }}
    services:
      mysql:
        image: mysql:8.4
        env:
          MYSQL_ALLOW_EMPTY_PASSWORD: '1'
          MYSQL_DATABASE: blouson
        ports:
          - 3306:3306
        options: >-
          --health-cmd "mysqladmin ping"
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
    env:
      BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
    steps:
      - uses: actions/checkout@v4
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blouson-3.0.0 .github/workflows/ci.yml