diff --git a/.github/workflows/test-ruby-head.yml b/.github/workflows/test-ruby-head.yml new file mode 100644 index 0000000..5c4cad2 --- /dev/null +++ b/.github/workflows/test-ruby-head.yml @@ -0,0 +1,29 @@ +name: Testing with Ruby head +on: + schedule: + - cron: '11 32 * * 0' + workflow_dispatch: +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: ['ubuntu-latest'] + ruby: [ 'head' ] + + name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: sudo apt-get install libsnappy-dev libzstd-dev + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: unit testing + env: + CI: true + run: | + gem install bundler rake + bundle install --jobs 4 --retry 3 + bundle exec rake test diff --git a/.github/workflows/linux.yml b/.github/workflows/test.yml similarity index 61% rename from .github/workflows/linux.yml rename to .github/workflows/test.yml index ef84ab7..8eb3a09 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Testing on Ubuntu +name: Test on: push: branches: [master] @@ -7,20 +7,13 @@ on: jobs: build: runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: - ruby: [ '3.2', '3.1', '3.0', '2.7' ] - os: - - ubuntu-latest - experimental: [false] - include: - - ruby: head - os: ubuntu-latest - experimental: true + os: ['ubuntu-latest'] + ruby: [ '3.3', '3.2', '3.1', '3.0', '2.7' ] - name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }} + name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Install dependencies