Sha256: 739a78f5f9430e2bc01930adee3cee2787fe18e3a880a1e010571d570b052167

Contents?: true

Size: 1.16 KB

Versions: 15

Compression:

Stored size: 1.16 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.4.0-preview1'
          - '3.3'
          - '3.2'
          - '3.1'
          - '3.0'
        include:
          - ruby: '3.3'
            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

15 entries across 15 versions & 2 rubygems

Version Path
karafka-rdkafka-0.17.5 .github/workflows/ci.yml
karafka-rdkafka-0.17.4 .github/workflows/ci.yml
rdkafka-0.18.0 .github/workflows/ci.yml
karafka-rdkafka-0.17.3 .github/workflows/ci.yml
karafka-rdkafka-0.17.2 .github/workflows/ci.yml
karafka-rdkafka-0.17.2.rc1 .github/workflows/ci.yml
rdkafka-0.17.0 .github/workflows/ci.yml
karafka-rdkafka-0.17.1 .github/workflows/ci.yml
karafka-rdkafka-0.17.1.beta1 .github/workflows/ci.yml
karafka-rdkafka-0.17.0 .github/workflows/ci.yml
rdkafka-0.16.1 .github/workflows/ci.yml
karafka-rdkafka-0.16.1 .github/workflows/ci.yml
karafka-rdkafka-0.16.0 .github/workflows/ci.yml
karafka-rdkafka-0.16.0.rc1 .github/workflows/ci.yml
rdkafka-0.16.0 .github/workflows/ci.yml