Commit 6aee0b498097e8e8b0bf38559aff7ea032b9782b

Authored by Andrew Kane
1 parent 701f7246
Exists in master

Test with latest Elasticsearch and OpenSearch versions on CI

.github/workflows/build.yml
... ... @@ -8,12 +8,12 @@ jobs:
8 8 include:
9 9 - ruby: 3.1
10 10 gemfile: Gemfile
11   - elasticsearch: 8.2.3
  11 + elasticsearch: 8.3.0
12 12 - ruby: 3.1
13   - gemfile: gemfiles/opensearch.gemfile
14   - opensearch: 2.0.0
  13 + gemfile: gemfiles/opensearch2.gemfile
  14 + opensearch: 2.0.1
15 15 - ruby: "3.0"
16   - gemfile: gemfiles/opensearch.gemfile
  16 + gemfile: gemfiles/opensearch1.gemfile
17 17 opensearch: 1.3.3
18 18 - ruby: "3.0"
19 19 gemfile: gemfiles/activerecord61.gemfile
... ...
gemfiles/opensearch.gemfile
... ... @@ -1,17 +0,0 @@
1   -source "https://rubygems.org"
2   -
3   -gemspec path: ".."
4   -
5   -gem "rake"
6   -gem "minitest", ">= 5"
7   -gem "activerecord", "~> 7.0.0"
8   -gem "activejob", "~> 7.0.0", require: "active_job"
9   -gem "actionpack", "~> 7.0.0"
10   -gem "sqlite3"
11   -gem "gemoji-parser"
12   -gem "typhoeus"
13   -gem "redis"
14   -gem "connection_pool"
15   -gem "kaminari"
16   -gem "opensearch-ruby"
17   -gem "parallel_tests"
gemfiles/opensearch1.gemfile 0 → 100644
... ... @@ -0,0 +1,17 @@
  1 +source "https://rubygems.org"
  2 +
  3 +gemspec path: ".."
  4 +
  5 +gem "rake"
  6 +gem "minitest", ">= 5"
  7 +gem "activerecord", "~> 7.0.0"
  8 +gem "activejob", "~> 7.0.0", require: "active_job"
  9 +gem "actionpack", "~> 7.0.0"
  10 +gem "sqlite3"
  11 +gem "gemoji-parser"
  12 +gem "typhoeus"
  13 +gem "redis"
  14 +gem "connection_pool"
  15 +gem "kaminari"
  16 +gem "opensearch-ruby", "~> 1"
  17 +gem "parallel_tests"
... ...
gemfiles/opensearch2.gemfile 0 → 100644
... ... @@ -0,0 +1,17 @@
  1 +source "https://rubygems.org"
  2 +
  3 +gemspec path: ".."
  4 +
  5 +gem "rake"
  6 +gem "minitest", ">= 5"
  7 +gem "activerecord", "~> 7.0.0"
  8 +gem "activejob", "~> 7.0.0", require: "active_job"
  9 +gem "actionpack", "~> 7.0.0"
  10 +gem "sqlite3"
  11 +gem "gemoji-parser"
  12 +gem "typhoeus"
  13 +gem "redis"
  14 +gem "connection_pool"
  15 +gem "kaminari"
  16 +gem "opensearch-ruby", "~> 2"
  17 +gem "parallel_tests"
... ...