-
Notifications
You must be signed in to change notification settings - Fork 323
241 lines (229 loc) Β· 7 KB
/
Copy pathtest-query-engine.yml
File metadata and controls
241 lines (229 loc) Β· 7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
name: 'QE'
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '.github/**'
- '!.github/workflows/test-query-engine.yml'
- '!.github/workflows/test-query-engine-template.yml'
- '!.github/workflows/test-driver-adapters-template.yml'
- '!.github/workflows/include/rust-wasm-setup/action.yml'
- '.buildkite/**'
- '*.md'
- 'LICENSE'
- 'CODEOWNERS'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
postgres:
strategy:
fail-fast: false
matrix:
database:
- name: 'postgres16'
version: '16'
name: 'Postgres v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
connector: 'postgres'
threads: 8
postgres-push:
if: github.event_name == 'push'
strategy:
fail-fast: false
matrix:
database:
- name: 'postgres15'
version: '15'
- name: 'postgres14'
version: '14'
- name: 'postgres13'
version: '13'
- name: 'postgres12'
version: '12'
- name: 'postgres11'
version: '11'
- name: 'postgres10'
version: '10'
- name: 'postgres9'
version: '9'
name: 'Postgres Old v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
connector: 'postgres'
threads: 8
mysql:
strategy:
fail-fast: false
matrix:
database:
- name: 'mysql_8'
version: '8'
relation_load_strategy: '["join", "query"]'
name: 'MySQL v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
connector: 'mysql'
threads: 8
relation_load_strategy: ${{ matrix.database.relation_load_strategy }}
mysql-push:
if: github.event_name == 'push'
strategy:
fail-fast: false
matrix:
database:
- name: 'mysql_5_7'
version: '5.7'
relation_load_strategy: '["query"]'
- name: 'mysql_5_6'
version: '5.6'
relation_load_strategy: '["query"]'
- name: 'mysql_mariadb'
version: 'mariadb'
relation_load_strategy: '["query"]'
name: 'MySQL Old v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
connector: 'mysql'
# Reason for single threaded test: `test_itx_concurrent_updates_single_thread`
# This test fails with: `Query core error: Error in connector: Error creating a database connection. (Error in the underlying connector)`
# It does NOT happen on MySQL 8, only on the older versions.
threads: 1
relation_load_strategy: ${{ matrix.database.relation_load_strategy }}
cockroachdb-push:
if: github.event_name == 'push'
strategy:
fail-fast: false
matrix:
database:
- name: 'cockroach_23_1'
version: '23.1'
- name: 'cockroach_22_2'
version: '22.2'
- name: 'cockroach_22_1_0'
version: '22.1'
name: 'CockroachDB v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
connector: 'cockroachdb'
threads: 4
mongodb:
strategy:
fail-fast: false
matrix:
database:
- name: 'mongodb_5'
version: '5'
connector: 'mongodb'
name: 'MongoDB v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
# MongoDB tests MUST run single threaded
threads: 1
connector: 'mongodb'
relation_load_strategy: '["query"]'
mongodb-push:
if: github.event_name == 'push'
strategy:
fail-fast: false
matrix:
database:
- name: 'mongodb_4_4'
version: '4.4'
- name: 'mongodb_4_2'
version: '4.2'
name: 'MongoDB Old v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
# MongoDB tests MUST run single threaded
threads: 1
connector: 'mongodb'
relation_load_strategy: '["query"]'
mssql:
strategy:
fail-fast: false
matrix:
database:
- name: 'mssql_2022'
version: '2022'
ubuntu: '24.04'
name: 'MSSQL v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
ubuntu: ${{ matrix.database.ubuntu }}
connector: 'sqlserver'
threads: 8
relation_load_strategy: '["query"]'
mssql-push:
if: github.event_name == 'push'
strategy:
fail-fast: false
matrix:
database:
- name: 'mssql_2019'
version: '2019'
ubuntu: '24.04'
name: 'MSSQL Old v${{ matrix.database.version}}'
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: ${{ matrix.database.name }}
version: ${{ matrix.database.version }}
ubuntu: ${{ matrix.database.ubuntu }}
connector: 'sqlserver'
threads: 8
relation_load_strategy: '["query"]'
sqlite:
name: sqlite
uses: ./.github/workflows/test-query-engine-template.yml
with:
name: 'sqlite'
version: 3
connector: 'sqlite'
threads: 8
relation_load_strategy: '["query"]'
driver_adapters:
strategy:
fail-fast: false
matrix:
adapter:
- name: 'planetscale (wasm)'
setup_task: 'dev-planetscale-wasm'
- name: 'pg (wasm)'
setup_task: 'dev-pg-wasm'
- name: 'neon (wasm)'
setup_task: 'dev-neon-wasm'
- name: 'libsql (wasm)'
setup_task: 'dev-libsql-wasm'
- name: 'd1 (wasm)'
setup_task: 'dev-d1'
- name: 'better-sqlite3 (wasm)'
setup_task: 'dev-better-sqlite3-wasm'
- name: 'mssql (wasm)'
setup_task: 'dev-mssql-wasm'
- name: 'mariadb (wasm)'
setup_task: 'dev-mariadb-wasm'
- name: 'pg-cockroachdb (wasm)'
setup_task: 'dev-pg-cockroachdb-wasm'
name: ${{ matrix.adapter.name }}
uses: ./.github/workflows/test-driver-adapters-template.yml
with:
setup_task: ${{ matrix.adapter.setup_task }}