Sha256: 20698c8c4e4bd4ca8ae959a2383801a9d869b0954a960fa6af39cf756fe7b84a

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

name: Test

on:
  push:
    branches: [ master, 0.9-stable ]
  pull_request:
    branches: [ master, 0.9-stable ]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby:
          - '2.5.x'
          - '2.6.x'
        appraisal:
          - 'google-cloud-tasks-1.0'
          - 'google-cloud-tasks-1.1'
          - 'google-cloud-tasks-1.2'
          - 'google-cloud-tasks-1.3'
          - 'rails-5.2'
          - 'rails-6.0'
    steps:
      - name: Setup System
        run: sudo apt-get install libsqlite3-dev
      - uses: actions/checkout@v2
      - uses: zhulik/redis-action@1.1.0
      - name: Set up Ruby 2.6
        uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Build and test with Rake
        env:
            APPRAISAL_CONTEXT: ${{ matrix.appraisal }}
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
          bundle exec rubocop
          bundle exec appraisal ${APPRAISAL_CONTEXT} bundle
          bundle exec appraisal ${APPRAISAL_CONTEXT} rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cloudtasker-0.10.0 .github/workflows/test.yml