Sha256: ebc856125d4a4d19f8471cedb7bae2039ecbfb1506f754419e6a5cc740019c70

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 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
          # - jruby-9.2.20.1
        db:
          - mongodb
          - redis
          - active_record
        gemfile:
          - gemfiles/rails52.gemfile
          - gemfiles/rails60.gemfile
          - gemfiles/rails61.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 }}
          bundler-cache: true
      - name: Info
        run: bundle env
      - name: Run Tests
        run: bundle exec rake test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vanity-4.0.3 .github/workflows/test.yml
vanity-4.0.2 .github/workflows/test.yml
vanity-4.0.1 .github/workflows/test.yml
vanity-4.0.0 .github/workflows/test.yml