Skip to content

Backport(v1.16): tests: use never instead of dont_allow (#4671) #445

Backport(v1.16): tests: use never instead of dont_allow (#4671)

Backport(v1.16): tests: use never instead of dont_allow (#4671) #445

Workflow file for this run

name: Test
on:
push:
branches: [v1.16]
paths-ignore:
- '*.md'
- 'lib/fluent/version.rb'
pull_request:
branches: [v1.16]
paths-ignore:
- '*.md'
- 'lib/fluent/version.rb'
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: false
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7']
name: 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
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install libgmp3-dev libcap-ng-dev
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test TESTOPTS="-v --no-show-detail-immediately"