Skip to content

Merge pull request #4397 from fluent/v1.16-backport-4331 #1293

Merge pull request #4397 from fluent/v1.16-backport-4331

Merge pull request #4397 from fluent/v1.16-backport-4331 #1293

Workflow file for this run

name: Testing on Ubuntu
on:
push:
branches: [master, v1.16]
pull_request:
branches: [master, v1.16]
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby-version: ['3.2', '3.1', '3.0', '2.7']
os: [ubuntu-latest]
experimental: [false]
include:
- ruby-version: head
os: ubuntu-latest
experimental: true
name: Unit testing with Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install addons
run: sudo apt-get install libgmp3-dev libcap-ng-dev
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test