Sha256: b036fcf865644c8f4bf47cfcf7a8dc0f8e126d8336fe7255b3fe3b025ac8d82d

Contents?: true

Size: 1.22 KB

Versions: 12

Compression:

Stored size: 1.22 KB

Contents

name: ci

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

on:
  pull_request:
  push:
  schedule:
    - cron:  '0 1 * * *'

env:
  BUNDLE_RETRY: 6
  BUNDLE_JOBS: 4

jobs:
  specs:
    timeout-minutes: 30
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '3.3.0-preview2'
          - '3.2'
          - '3.1'
          - '3.1.0'
          - '3.0'
          - '3.0.0'
          - '2.7'
          - '2.7.0'
        include:
          - ruby: '3.2'
            coverage: 'true'
    steps:
      - uses: actions/checkout@v4
      - name: Install package dependencies
        run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"

      - name: Start Kafka with docker-compose
        run: |
          docker-compose up -d || (sleep 5 && docker-compose up -d)

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

      - name: Run all specs
        env:
          GITHUB_COVERAGE: ${{matrix.coverage}}

        run: |
          bundle install --path vendor/bundle
          cd ext && bundle exec rake && cd ..
          bundle exec rspec

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
rdkafka-0.14.1 .github/workflows/ci.yml
karafka-rdkafka-0.13.10 .github/workflows/ci.yml
karafka-rdkafka-0.14.2 .github/workflows/ci.yml
rdkafka-0.15.0 .github/workflows/ci.yml
karafka-rdkafka-0.14.1 .github/workflows/ci.yml
rdkafka-0.14.0 .github/workflows/ci.yml
rdkafka-0.14.0.rc1 .github/workflows/ci.yml
karafka-rdkafka-0.14.0 .github/workflows/ci.yml
karafka-rdkafka-0.14.0.beta1 .github/workflows/ci.yml
karafka-rdkafka-0.13.9 .github/workflows/ci.yml
karafka-rdkafka-0.13.8 .github/workflows/ci.yml
karafka-rdkafka-0.13.7 .github/workflows/ci.yml