From ad2f96095f2e273d149e24b70e6c60b3961b5d5e Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Wed, 17 Jan 2024 21:04:51 +0100 Subject: [PATCH] fix: test AR edge --- .github/workflows/ci.yml | 6 +++++- .github/workflows/ci_jruby.yml | 2 +- .github/workflows/ci_truffleruby.yml | 2 +- closure_tree.gemspec | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7623a8..7704685 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,18 +40,22 @@ jobs: fail-fast: false matrix: ruby: + - '3.3' - '3.2' - '3.1' - '3.0' - - '2.7' rails: - activerecord_7.1 - activerecord_7.0 - activerecord_6.1 + - activerecord_edge adapter: - 'sqlite3:///:memory:' - mysql2://root:root@0/closure_tree_test - postgres://closure_tree:closure_tree@0/closure_tree_test + exclude: + - ruby: '3.0' + rails: activerecord_edge steps: - name: Checkout diff --git a/.github/workflows/ci_jruby.yml b/.github/workflows/ci_jruby.yml index 4e032a1..e48d00d 100644 --- a/.github/workflows/ci_jruby.yml +++ b/.github/workflows/ci_jruby.yml @@ -9,7 +9,7 @@ on: branches: - master concurrency: - group: ci-${{ github.head_ref }} + group: ci-${{ github.head_ref }}-jruby cancel-in-progress: true jobs: diff --git a/.github/workflows/ci_truffleruby.yml b/.github/workflows/ci_truffleruby.yml index 62ba4f1..c85e06a 100644 --- a/.github/workflows/ci_truffleruby.yml +++ b/.github/workflows/ci_truffleruby.yml @@ -9,7 +9,7 @@ on: branches: - master concurrency: - group: ci-${{ github.head_ref }} + group: ci-${{ github.head_ref }}-truffleruby cancel-in-progress: true jobs: diff --git a/closure_tree.gemspec b/closure_tree.gemspec index edb32f5..83bab80 100644 --- a/closure_tree.gemspec +++ b/closure_tree.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |gem| end gem.test_files = gem.files.grep(%r{^spec/}) - gem.required_ruby_version = '>= 2.7.7' + gem.required_ruby_version = '>= 3.0.0' gem.add_runtime_dependency 'activerecord', '>= 6.1.0' gem.add_runtime_dependency 'with_advisory_lock', '>= 4.0.0'