Sha256: 7659022cc4965de2b82c82a8bae280c8b501fd808d72251aa860f0e486ddb5c5

Contents?: true

Size: 1.94 KB

Versions: 10

Compression:

Stored size: 1.94 KB

Contents

name: CI
on: [push, pull_request]
jobs:
  test:
    name: Test on ruby ${{ matrix.ruby }} and rails ${{ matrix.rails }}
    runs-on: ubuntu-latest
    services:
      redis:
        image: redis
        ports: ['6379:6379']
        options: >-
          --health-cmd "redis-cli ping"
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
    strategy:
      matrix:
        ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
        rails: ['5.2', '6.0.0', '6.1.0', '7.0.0']
        exclude:
          - ruby: "2.6"
            rails: "7.0.0"
          - ruby: "3.0"
            rails: "5.2"
          - ruby: "3.1"
            rails: "5.2"
          - ruby: "3.1"
            rails: "6.0.0"
          - ruby: "3.2"
            rails: "5.2"
          - ruby: "3.2"
            rails: "6.0.0"
          - ruby: "3.2"
            rails: "6.1.0"
    env:
      SQLITE3_VERSION: 1.4.1
      REDIS_URL: redis://localhost:6379/0
      CI: true
      RAILS_VERSION: ${{ matrix.rails }}
    steps:
      - name: Setup memcached
        uses: KeisukeYamashita/memcached-actions@v1
      - name: Start MongoDB
        uses: supercharge/mongodb-github-action@1.9.0
        with:
          mongodb-version: 4.0
      - name: Check out repository code
        uses: actions/checkout@v3
      - name: Do some action caching
        uses: actions/cache@v3
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
            ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-
      - name: Install libpq-dev
        run: sudo apt-get -yqq install libpq-dev
      - name: Set up Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # 'bundle install' and cache gems
      - name: Run Rake with Rails ${{ matrix.rails }}
        run: bundle exec rake

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
flipper-1.0.0 .github/workflows/ci.yml
flipper-1.0.0.pre .github/workflows/ci.yml
flipper-0.28.3 .github/workflows/ci.yml
flipper-0.28.2 .github/workflows/ci.yml
flipper-0.28.1 .github/workflows/ci.yml
flipper-0.28.0 .github/workflows/ci.yml
flipper-0.27.1 .github/workflows/ci.yml
flipper-0.27.0 .github/workflows/ci.yml
flipper-0.26.2 .github/workflows/ci.yml
flipper-0.26.1 .github/workflows/ci.yml