Skip to content

Commit 35eb8c2

Browse files
authored
Merge pull request #2040 from wellwelwel/node20-ci
ci: add node 20.x to the build matrix
2 parents db91252 + d2ab7a7 commit 35eb8c2

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

.github/workflows/ci-linux.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,31 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
node-version: [16.x, 18.x]
32+
node-version: [16.x, 18.x, 20.x]
3333
mysql-version: ["mysql:8.0.18", "mysql:8.0.22", "mysql:5.7"]
3434
use-compression: [0]
3535
use-tls: [0]
3636
mysql_connection_url_key: [""]
3737
# TODO - add mariadb to the matrix. currently few tests are broken due to mariadb incompatibilities
3838
include:
39+
# 20.x
40+
- node-version: "20.x"
41+
mysql-version: "mysql:8.0.18"
42+
use-compression: 1
43+
use-tls: 0
44+
- node-version: "20.x"
45+
mysql-version: "mysql:8.0.18"
46+
use-compression: 0
47+
use-tls: 1
48+
49+
# 18.x
50+
# - node-version: "18.x"
51+
# mysql_connection_url_key: "PS_MYSQL_URL"
52+
# filter: "test-select"
53+
# use-compression: 0
54+
# use-tls: 0
55+
56+
# 16.x
3957
- node-version: "16.x"
4058
mysql-version: "mysql:8.0.18"
4159
use-compression: 1
@@ -48,20 +66,19 @@ jobs:
4866
mysql-version: "mysql:8.0.18"
4967
use-compression: 1
5068
use-tls: 1
69+
70+
# 14.x
5171
- node-version: "14.x"
5272
mysql-version: "mysql:5.7"
5373
use-compression: 0
5474
use-tls: 0
75+
76+
# filter
5577
- filter: "test-select-1" # a number of tests does not work with mysql 5.1 due to old sql syntax, just testing basic connection
5678
node-version: "16.x"
5779
mysql-version: "datagrip/mysql:5.1"
5880
use-compression: 0
5981
use-tls: 0
60-
# - node-version: "18.x"
61-
# mysql_connection_url_key: "PS_MYSQL_URL"
62-
# filter: "test-select"
63-
# use-compression: 0
64-
# use-tls: 0
6582
env:
6683
MYSQL_CONNECTION_URL: ${{ secrets[matrix.mysql_connection_url_key] }}
6784

.github/workflows/ci-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
node-version: [16.x, 18.x]
21+
node-version: [18.x, 20.x]
2222
mysql-version: ['8.0']
2323
use-compression: [0, 1]
2424
use-tls: [0, 1]

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ logs
2020
node_modules
2121
npm-debug.log
2222
benchmarks/results.json
23+
!test/fixtures/data.csv

0 commit comments

Comments
 (0)