Sha256: 81647369dfc6f007a10d02194dd9957c234e7c0813e149b48fb44ae3df11e29b

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

name: Test
on:
  push:
    branches:
      - master
  pull_request:
    branches: '*'

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    timeout-minutes: 15
    services:
      redis:
        image: redis
        ports:
          - 6379:6379
      mongo:
        image: mongo
        ports:
          - 27017:27017
    strategy:
      matrix:
        ruby:
          - 2.5
          - 2.6
          - 2.7
          - "3.0"
          # - jruby-9.2.20.1
        db:
          - mongodb
          - redis
          - active_record
        gemfile:
          - gemfiles/rails52.gemfile
          - gemfiles/rails60.gemfile
          - gemfiles/rails61.gemfile
        exclude:
          - ruby: "3.0"
            gemfile: gemfiles/rails52.gemfile

    env:
      DB: ${{ matrix.db }}
      BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          rubygems: latest
          bundler-cache: true
      - name: Info
        run: bundle env
      - name: Run Tests
        run: bundle exec rake test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vanity-4.0.4 .github/workflows/test.yml