Sha256: 938840d86859d626c116683ba12a69138db055af9f6a55e6e2fb16a7101965db

Contents?: true

Size: 986 Bytes

Versions: 2

Compression:

Stored size: 986 Bytes

Contents

name: CI

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

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

    strategy:
      fail-fast: false
      matrix:
        ruby: [ "2.6", "2.7", "3.0" ]
        sidekiq: [ "5.0", "5.1", "5.2", "6.0", "6.1", "6.2", "6.3" ]

    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 }}
          bundler-cache: true

      - run: bundle exec rspec

  rubocop:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: "2.6"
          bundler-cache: true

      - run: bundle exec rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-throttled-0.15.1 .github/workflows/ci.yml
sidekiq-throttled-0.15.0 .github/workflows/ci.yml