Sha256: 480d2a91b1f4bfbccca993ff21665bd2e9d777a11e783bf9b7f365b0d9ee5468

Contents?: true

Size: 1.33 KB

Versions: 4

Compression:

Stored size: 1.33 KB

Contents

name: linux
on:
  - push
  - pull_request
jobs:
  build:
    runs-on: ${{ matrix.os }}
    env:
      USE_RDKAFKA: 1
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ]
        os:
          - ubuntu-latest
    name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Install confluent-kafka
      run: |
        sudo apt install -V -y gnupg2 wget
        wget https://packages.confluent.io/deb/6.0/archive.key
        sudo gpg2 --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/confluent-archive-keyring.gpg --import archive.key
        sudo chmod 644 /usr/share/keyrings/confluent-archive-keyring.gpg
        sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/confluent-archive-keyring.gpg] https://packages.confluent.io/deb/6.0 stable main" > /etc/apt/sources.list.d/confluent.list'
        sudo apt update
        sudo apt install -y confluent-community-2.13 openjdk-11-jre netcat-openbsd
    - name: unit testing
      env:
        CI: true
      run: |
        sudo ./ci/prepare-kafka-server.sh
        gem install bundler rake
        bundle install --jobs 4 --retry 3
        bundle exec rake test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluent-plugin-kafka-0.17.4 .github/workflows/linux.yml
fluent-plugin-kafka-0.17.3 .github/workflows/linux.yml
fluent-plugin-kafka-0.17.2 .github/workflows/linux.yml
fluent-plugin-kafka-0.17.1 .github/workflows/linux.yml