Commit d5d60476bdad5e75a38faf06e08a0a9ca3c2d54c

Authored by Andrew Kane
1 parent bcd6edc8

Test with OpenSearch 1.1.0 and plugins on CI

.github/workflows/build.yml
... ... @@ -11,7 +11,7 @@ jobs:
11 11 elasticsearch: 7.15.0
12 12 - ruby: 3.0
13 13 gemfile: gemfiles/opensearch.gemfile
14   - opensearch: 1.0.1
  14 + opensearch: 1.1.0
15 15 - ruby: 2.7
16 16 gemfile: gemfiles/activerecord60.gemfile
17 17 elasticsearch: 7.15.0
... ... @@ -67,6 +67,11 @@ jobs:
67 67 if: ${{ matrix.opensearch }}
68 68 with:
69 69 opensearch-version: ${{ matrix.opensearch }}
  70 + plugins: |
  71 + analysis-kuromoji
  72 + analysis-smartcn
  73 + analysis-stempel
  74 + analysis-ukrainian
70 75  
71 76 - uses: ankane/setup-mongodb@v1
72 77 if: ${{ matrix.mongodb }}
... ...
test/language_test.rb
... ... @@ -3,7 +3,6 @@ require_relative "test_helper"
3 3 class LanguageTest < Minitest::Test
4 4 def setup
5 5 skip "Requires plugin" unless ci? || ENV["TEST_LANGUAGE"]
6   - skip "Requires Elasticsearch" if Searchkick.opensearch?
7 6  
8 7 Song.destroy_all
9 8 end
... ...