Skip to content

Commit 31a535c

Browse files
committed
Fix ci test package
1 parent 91d0a6e commit 31a535c

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/ci_test_package.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ jobs:
197197
integration-sqlserver:
198198
strategy:
199199
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" ]
200202
runs-on: ubuntu-latest
201203
environment:
202204
name: Approve Integration Tests
@@ -231,7 +233,9 @@ jobs:
231233
- name: Run Tests on PR
232234
env:
233235
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 }}
235239
236240
integration-sqlserver-single-run:
237241
strategy:
@@ -240,9 +244,9 @@ jobs:
240244
# When supporting a new version, update the list here
241245
version: ["1_3_0", "1_4_0", "1_7_0", "1_8_0"]
242246
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
246250

247251
steps:
248252
- uses: actions/setup-python@v4
@@ -257,9 +261,9 @@ jobs:
257261
- name: Create DBT User
258262
shell: pwsh
259263
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"
263267
- name: Install tox
264268
run: python3 -m pip install tox
265269
- name: Install Microsoft ODBC
@@ -271,4 +275,5 @@ jobs:
271275
- name: Run Tests on PR
272276
env:
273277
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

Comments
 (0)