Sha256: 85dd035340f83cf4cbd330d4bc8005b39a01dbe4fe718d0a4a634afcf28e002c

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  rspec:
    name: "rspec (ruby:${{ matrix.ruby }} sidekiq:${{ matrix.sidekiq }})"

    strategy:
      matrix:
        ruby: [ "2.6", "2.7" ]
        sidekiq: [ "5.0", "5.1", "5.2", "6.0", "6.1" ]

    runs-on: ubuntu-latest

    services:
      redis:
        image: redis
        ports: ["6379:6379"]
        options: "--entrypoint redis-server"

    env:
      GEMFILE: gemfiles/sidekiq_${{ matrix.sidekiq }}.gemfile

    steps:
      - uses: actions/checkout@v2

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}

      - name: bundle install
        run: bundle install --without development --jobs 4 --retry 3

      - run: bundle exec rspec

  rubocop:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: "2.4"

      - name: bundle install
        run: bundle install --without development --jobs 4 --retry 3

      - run: bundle exec rubocop

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-throttled-0.14.1 .github/workflows/ci.yml