Skip to content

Commit e92e6a6

Browse files
authored
chores: use new gha for tsqlt (#234)
1 parent ff4a6aa commit e92e6a6

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/azuresql-unit.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,3 @@ jobs:
6060
with:
6161
connection-string: ${{ secrets.AZURE_SQL_CONNECTION_STRING }}
6262
sql-file: ${{ env.TSQLT_FILE }}
63-
64-
# Since database is re-used, assume tSQLt already exists in
65-
# Azure SQL database
66-
# - name: Install tSQLt
67-
# uses: ./.github/actions/tsqlt
68-
# with:
69-
# sql-instance: ${{ env.SQLINSTANCE }}
70-
# database: ${{ env.DATABASE }}
71-
# version: "latest"

.github/workflows/sqlserver-unit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ on:
1111
- main
1212
paths-ignore:
1313
- .vscode/*
14+
- '**.md'
1415
pull_request:
1516
paths-ignore:
1617
- .vscode/*
18+
- '**.md'
1719

1820
# Run CI once per day (at 06:00 UTC)
1921
schedule:
@@ -30,7 +32,6 @@ env:
3032
INSTALLER_FILE: "install_dba-multitool.sql"
3133
SAMPLE_DATABASE: "WideWorldImporters"
3234
SP_DOC_FILE: "WideWorldImporters.md"
33-
NUGET_API: "http://www.nuget.org/api/v2"
3435
COVERAGE_HTML_FILE: "coverage.html"
3536

3637
jobs:
@@ -69,7 +70,7 @@ jobs:
6970
$null = New-DbaDatabase -SqlInstance $Env:SQLINSTANCE -Database $Env:DATABASE
7071
7172
- name: Install tSQLt
72-
uses: ./.github/actions/tsqlt
73+
uses: lowlydba/tsqlt-installer@v1
7374
with:
7475
sql-instance: ${{ env.SQLINSTANCE }}
7576
database: ${{ env.DATABASE }}

0 commit comments

Comments
 (0)