Sha256: 592dbb78fb59ac7b061cee3bbd6a32fdd1e4801b721510720b000642835c01c6

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

name: CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

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

    strategy:
      fail-fast: false
      matrix:
        ruby: [ "2.7", "3.0", "3.1" ]
        sidekiq: [ "6.0", "6.1", "6.2", "6.3", "6.4", "6.5" ]

    runs-on: ubuntu-latest

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

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

    steps:
      - uses: actions/checkout@v3

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

      - name: bundle exec rspec
        run: bundle exec rspec --format progress --force-colour

  rubocop:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3

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

      - run: bundle exec rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-throttled-0.16.2 .github/workflows/ci.yml
sidekiq-throttled-0.16.1 .github/workflows/ci.yml