Skip to content

Commit 33ee746

Browse files
casperisfinebyroot
andauthored
Add Ruby 3.1 to the CI matrix (#1235)
Co-authored-by: Jean Boussier <[email protected]>
1 parent 23106c0 commit 33ee746

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,36 @@ jobs:
1717
- ubuntu-18.04 # bionic
1818
# - ubuntu-16.04 # xenial
1919
ruby:
20+
- '3.1'
2021
- '3.0'
21-
- 2.7
22-
- 2.6
23-
- 2.5
24-
- 2.4
25-
- 2.3
26-
- 2.2
27-
- 2.1
22+
- '2.7'
23+
- '2.6'
24+
- '2.5'
25+
- '2.4'
26+
- '2.3'
27+
- '2.2'
28+
- '2.1'
2829
db: ['']
2930
include:
3031
# Allow failure due to Mysql2::Error: Unknown system variable 'session_track_system_variables'.
31-
- {os: ubuntu-16.04, ruby: 2.4, db: mariadb10.0, allow-failure: true}
32+
- {os: ubuntu-16.04, ruby: '2.4', db: mariadb10.0, allow-failure: true}
3233
# Comment out due to ci/setup.sh stucking.
3334
# - {os: ubuntu-18.04, ruby: 2.4, db: mariadb10.1}
3435
# Allow failure due to the issue #965, #1165.
35-
- {os: ubuntu-20.04, ruby: 2.4, db: mariadb10.3, allow-failure: true}
36-
- {os: ubuntu-18.04, ruby: 2.4, db: mysql57}
36+
- {os: ubuntu-20.04, ruby: '2.4', db: mariadb10.3, allow-failure: true}
37+
- {os: ubuntu-18.04, ruby: '2.4', db: mysql57}
3738
# Allow failure due to the issue #1165.
38-
- {os: ubuntu-20.04, ruby: 2.4, db: mysql80, allow-failure: true}
39+
- {os: ubuntu-20.04, ruby: '2.4', db: mysql80, allow-failure: true}
3940
- {os: ubuntu-18.04, ruby: 'head', db: '', allow-failure: true}
4041
# db: A DB's brew package name in macOS case.
4142
# Set a name "db: '[email protected]'" when using an old version.
4243
# MariaDB lastet version
4344
# Allow failure due to the following test failures that rarely happens.
4445
# https://github.com/brianmario/mysql2/issues/1194
45-
- {os: macos-latest, ruby: 2.4, db: mariadb, allow-failure: true}
46+
- {os: macos-latest, ruby: '2.4', db: mariadb, allow-failure: true}
4647
# MySQL latest version
4748
# Allow failure due to the issue #1165.
48-
- {os: macos-latest, ruby: 2.4, db: mysql, allow-failure: true}
49+
- {os: macos-latest, ruby: '2.4', db: mysql, allow-failure: true}
4950
# On the fail-fast: true, it cancels all in-progress jobs
5051
# if any matrix job fails unlike Travis fast_finish.
5152
fail-fast: false

0 commit comments

Comments
 (0)