File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ if %errorlevel% neq 0 exit /b 3
51
51
52
52
rem setup ODBC related exts
53
53
set ODBC_TEST_USER = sa
54
- set ODBC_TEST_PASS = Password12!
54
+ if /i " %ODBC_TEST_PASS% " equ " " (
55
+ set ODBC_TEST_PASS = Password12!
56
+ )
55
57
if /i " %APPVEYOR% " equ " True" (
56
58
set ODBC_TEST_DSN = Driver={ODBC Driver 13 for SQL Server};Server=^ (local^ )\SQL2017;Database=master;uid=%ODBC_TEST_USER% ;pwd=%ODBC_TEST_PASS%
57
59
) else (
Original file line number Diff line number Diff line change @@ -173,18 +173,21 @@ jobs:
173
173
THREAD_SAFE : " ${{ matrix.zts && '1' || '0' }}"
174
174
INTRINSICS : " ${{ matrix.zts && 'AVX2' || '' }}"
175
175
PARALLEL : -j2
176
+ ODBC_TEST_PASS : YourStrong!Passw0rd
176
177
steps :
177
178
- name : git config
178
179
run : git config --global core.autocrlf false && git config --global core.eol lf
179
180
- name : git checkout
180
181
uses : actions/checkout@v2
182
+ - name : Install MySQL
183
+ uses : ankane/setup-mysql@v1
181
184
- name : Setup MySQL
182
185
run : |
183
- choco install mysql -y --no-progress --params="/port:3306 "
184
- mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;"
185
- - name : Setup MSSQL
186
- run : |
187
- choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=Password12!"
186
+ mysql --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES; "
187
+ - name : Install MSSQL
188
+ uses : ankane/setup-sqlserver@v1
189
+ with :
190
+ accept-eula : true
188
191
- name : Setup PostgreSQL
189
192
run : |
190
193
Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running
You can’t perform that action at this time.
0 commit comments