@@ -197,6 +197,8 @@ jobs:
197
197
integration-sqlserver :
198
198
strategy :
199
199
fail-fast : false # Don't fail one DWH if the others fail
200
+ matrix :
201
+ version : [ "1_3_0", "1_4_0", "1_7_0", "1_8_0" ]
200
202
runs-on : ubuntu-latest
201
203
environment :
202
204
name : Approve Integration Tests
@@ -231,7 +233,9 @@ jobs:
231
233
- name : Run Tests on PR
232
234
env :
233
235
DBT_VERSION : ${{ matrix.version }}
234
- run : tox -e integration_sqlserver
236
+ run : |
237
+ echo "Running tests for DBT version: ${{ matrix.version }}"
238
+ tox -e integration_sqlserver_${{ matrix.version }}
235
239
236
240
integration-sqlserver-single-run :
237
241
strategy :
@@ -240,9 +244,9 @@ jobs:
240
244
# When supporting a new version, update the list here
241
245
version : ["1_3_0", "1_4_0", "1_7_0", "1_8_0"]
242
246
run : tox -e integration_sqlserver_${{ matrix.version }}
243
- runs-on : ubuntu-latest
244
- environment :
245
- name : Approve Integration Tests
247
+ runs-on : ubuntu-latest
248
+ environment :
249
+ name : Approve Integration Tests
246
250
247
251
steps :
248
252
- uses : actions/setup-python@v4
@@ -257,9 +261,9 @@ jobs:
257
261
- name : Create DBT User
258
262
shell : pwsh
259
263
run : |
260
- echo "Create dbt login with sysadmin"
261
- sqlcmd -Q "CREATE LOGIN dbt WITH PASSWORD = '123', CHECK_POLICY = OFF, CHECK_EXPIRATION = OFF" -d "dbt_artifact_integrationtests"
262
- sqlcmd -Q "ALTER SERVER ROLE sysadmin ADD MEMBER dbt" -d "dbt_artifact_integrationtests"
264
+ echo "Create dbt login with sysadmin"
265
+ sqlcmd -Q "CREATE LOGIN dbt WITH PASSWORD = '123', CHECK_POLICY = OFF, CHECK_EXPIRATION = OFF" -d "dbt_artifact_integrationtests"
266
+ sqlcmd -Q "ALTER SERVER ROLE sysadmin ADD MEMBER dbt" -d "dbt_artifact_integrationtests"
263
267
- name : Install tox
264
268
run : python3 -m pip install tox
265
269
- name : Install Microsoft ODBC
@@ -271,4 +275,5 @@ jobs:
271
275
- name : Run Tests on PR
272
276
env :
273
277
DBT_VERSION : ${{ matrix.version }}
274
- run : tox -e integration_sqlserver_${{ matrix.version }}
278
+ run : |
279
+ echo "Running tests for DBT version: ${{ matrix.version }}"
0 commit comments