Skip to content

Commit 0fcba3e

Browse files
authored
Fix the CI matrix (#153)
1 parent 0605ccf commit 0fcba3e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
--health-timeout=5s
3535
--health-retries=3
3636
strategy:
37-
fail-fast: true
37+
fail-fast: false
3838
matrix:
3939
ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, 'head']
4040
rails: [4, 5, 6, 7, 8, 'head']
@@ -63,6 +63,7 @@ jobs:
6363

6464
- { 'ruby': '3.2', 'rails': '4' }
6565
- { 'ruby': '3.2', 'rails': '5' }
66+
- { 'ruby': '3.2', 'rails': 'head' }
6667

6768
- { 'ruby': '3.3', 'rails': '4' }
6869
- { 'ruby': '3.3', 'rails': '5' }

‎test/test_helper.rb‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# frozen_string_literal: true
22

33
require 'bundler/setup'
4+
require 'logger' # Rails 6.1 expects it to be loaded, recent concurrent-ruby no longer does that
45
require 'minitest/autorun'
56
require 'mocha/minitest'
67
require 'test_declarative'
@@ -29,6 +30,7 @@
2930
ActiveRecord::Base.establish_connection(
3031
adapter: 'mysql2',
3132
database: 'i18n_unittest',
33+
encoding: 'utf8mb4',
3234
username: ENV.fetch('MYSQL_USER', 'root'),
3335
password: ENV.fetch('MYSQL_PASSWORD', ''),
3436
host: '127.0.0.1'

0 commit comments

Comments
 (0)