Skip to content

Commit 48f60af

Browse files
Merge #554
554: Fix weird error on global SDK CI from meilisearch/meilisearch r=curquiza a=brunoocasali We use to run a global CI with all the SDKs against the nightly build of meilisearch just to spot any potential error during the development phase of the engine team. But this time, the error had nothing to do with their implementation; it only involved the ruby CI. The latest run was breaking in a weird way: https://github.com/meilisearch/meilisearch/actions/runs/9941341341/job/27460158817 Somehow, the `time` gem is explicitly required before using some methods like `Time.parse`. I say it is weird because we have the same configuration in this repo, and we don't have that error. CC: `@ellnix` `@curquiza` Co-authored-by: Bruno Casali <[email protected]>
2 parents 96a2ee4 + 74b8dac commit 48f60af

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
matrix:
2020
ruby-version: ['3.1', '3.2', '3.3']
2121
name: integration-tests (ruby ${{ matrix.ruby-version }})
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v4
2525
- name: Set up Ruby ${{ matrix.ruby-version }}

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
require 'meilisearch'
3939
require 'byebug'
40+
require 'time'
4041

4142
# Globals for all tests
4243
URL = format('http://%<host>s:%<port>s',

0 commit comments

Comments
 (0)