Sha256: 92370d1a5e4d2392c409cc98427426f812922950ab4f4d04fef07fa2a155ebbb

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

name: CI

on:
- push
- pull_request

jobs:
  test:
    name: Test
    runs-on: ${{ matrix.os }}

    strategy:
      fail-fast: false
      matrix:
        os:
        - ubuntu-20.04
        - ubuntu-latest
        ruby:
        - 3.0
        - 2.7
        - 2.6
        - 2.5
        - 2.4
        - 2.3
        - debug

    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1

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

    - name: Install requirements on ubuntu
      run: |
        sudo apt install -y --no-install-recommends \
                 libczmq-dev \
                 python3 \
                 python3-pip \
                 python3-setuptools
        sudo pip3 install wheel
        sudo pip3 install -r ci/requirements.txt

    - run: gem install bundler

    - run: bundle install --jobs 4 --retry 3

    - name: Run tests
      env:
        PYTHON: python3
        ADAPTERS: cztop ffi-rzmq pyzmq
      run: |
        for adapter in $ADAPTERS; do
          export IRUBY_TEST_SESSION_ADAPTER_NAME=$adapter
          bundle exec rake test TESTOPTS=-v
        done

    - run: rake build

    - run: gem install pkg/*.gem

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iruby-0.7.0 .github/workflows/ubuntu.yml
iruby-0.6.1 .github/workflows/ubuntu.yml
iruby-0.6.0 .github/workflows/ubuntu.yml
iruby-0.5.0 .github/workflows/ubuntu.yml