Skip to content

Commit

Permalink
Merge pull request #4428 from fluent/v1.16-backport-4380
Browse files Browse the repository at this point in the history
Backport (v1.16): Refine CI (#4380)
  • Loading branch information
ashie committed Mar 11, 2024
2 parents 0d2cd95 + a834192 commit 30602a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 96 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/macos-test.yaml

This file was deleted.

22 changes: 9 additions & 13 deletions .github/workflows/linux-test.yaml → .github/workflows/test.yaml
@@ -1,36 +1,32 @@
name: Testing on Ubuntu
name: Test

on:
push:
branches: [master, v1.16]
branches: [v1.16]
pull_request:
branches: [master, v1.16]
branches: [v1.16]

jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
continue-on-error: false
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
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7']

name: Unit testing with Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
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
run: bundle exec rake test TESTOPTS=-v
49 changes: 0 additions & 49 deletions .github/workflows/windows-test.yaml

This file was deleted.

0 comments on commit 30602a5

Please sign in to comment.