Sha256: 1eacfbfdca5d6113634ab240520b0e215cd6cdf65b5de7171282d2bd8b1606fc

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 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.4", "2.5", "2.6", "2.7" ]
        sidekiq: [ "5.0", "5.1", "5.2", "6.0" ]
        exclude:
          - { ruby: "2.4", sidekiq: "6.0" }

    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

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-throttled-0.13.0 .github/workflows/ci.yml
sidekiq-throttled-0.12.0 .github/workflows/ci.yml