diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index af67714a..83dce718 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -3,26 +3,29 @@ name: stable on: [push, pull_request] jobs: - test: + tests: runs-on: ubuntu-latest - strategy: - matrix: - ruby: [2.7, '3.0', 3.1, 3.2, ruby-head, jruby-9.4] + fail-fast: false - env: - BUNDLE_WITHOUT: "benchmark" - JRUBY_OPTS: "--debug" + matrix: + ruby-version: + - '2.7' + - '3.0' + - '3.1' + - '3.2' + - '3.3' + - jruby steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - - name: Setup ruby - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby }} - rubygems: latest - bundler-cache: true # 'bundle install' and cache + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }} - - name: Run tests - run: bundle exec rake + - run: | + bundle exec rake + continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }} diff --git a/.github/workflows/unstable.yml b/.github/workflows/unstable.yml index e57276ef..0cd52c8e 100644 --- a/.github/workflows/unstable.yml +++ b/.github/workflows/unstable.yml @@ -5,25 +5,25 @@ on: - cron: '0 0 * * *' jobs: - test: + tests: runs-on: ubuntu-latest - strategy: - matrix: - ruby: [ruby-head, jruby-head] + fail-fast: false - env: - BUNDLE_WITHOUT: "benchmark" - JRUBY_OPTS: "--debug" + matrix: + ruby-version: + - ruby-head + - jruby-head steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - - name: Setup ruby - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: - ruby-version: ${{ matrix.ruby }} - bundler-cache: true # 'bundle install' and cache + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }} - - name: Run tests - run: bundle exec rake + - run: | + bundle exec rake + continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}