Skip to content

Commit 66d2616

Browse files
committed
DEBUG /wo DB
1 parent cfe98c3 commit 66d2616

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ if /i "%GITHUB_ACTIONS%" equ "True" (
6262
)
6363
set PDOTEST_DSN=odbc:%ODBC_TEST_DSN%
6464

65-
"%TMP_MYSQL_BIN%\mysql.exe" --host=%PDO_MYSQL_TEST_HOST% --port=%MYSQL_TEST_PORT% --user=%MYSQL_TEST_USER% --password=%MYSQL_TEST_PASSWD% -e "CREATE DATABASE IF NOT EXISTS test"
66-
if %errorlevel% neq 0 exit /b 3
67-
"%TMP_POSTGRESQL_BIN%\createdb.exe" test
68-
if %errorlevel% neq 0 exit /b 3
65+
#"%TMP_MYSQL_BIN%\mysql.exe" --host=%PDO_MYSQL_TEST_HOST% --port=%MYSQL_TEST_PORT% --user=%MYSQL_TEST_USER% --password=%MYSQL_TEST_PASSWD% -e "CREATE DATABASE IF NOT EXISTS test"
66+
#if %errorlevel% neq 0 exit /b 3
67+
#"%TMP_POSTGRESQL_BIN%\createdb.exe" test
68+
#if %errorlevel% neq 0 exit /b 3
6969

7070
rem prepare for ext/openssl
7171
rmdir /s /q C:\OpenSSL-Win32 >nul 2>&1

.github/workflows/push.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,20 @@ jobs:
123123
run: git config --global core.autocrlf false && git config --global core.eol lf
124124
- name: git checkout 2/2
125125
uses: actions/checkout@v2
126-
- name: Setup MySQL
127-
run: |
128-
choco install mysql --version 8.0.26 -y --no-progress --params="/port:3307"
129-
mysql.exe --port=3307 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'mysql_Pass11'; FLUSH PRIVILEGES;"
130-
mysql.exe --port=3307 --user=root --password="mysql_Pass11" -e "SELECT 1;"
131-
- name: Setup MSSQL
132-
run: |
133-
choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=mssql_Pass11"
134-
sqlcmd -S "(local)\SQLEXPRESS" -U sa -P "mssql_Pass11" -Q "SELECT 1;"
135-
- name: Setup PostgreSQL
136-
run: |
137-
Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running
138-
pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WITH PASSWORD 'postgresql_Pass11';" }
139-
pwsh -Command { $env:PGPASSWORD="postgresql_Pass11"; & "$env:PGBIN\psql" -U postgres -c "SELECT 1;" }
126+
# - name: Setup MySQL
127+
# run: |
128+
# choco install mysql --version 8.0.26 -y --no-progress --params="/port:3307"
129+
# mysql.exe --port=3307 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'mysql_Pass11'; FLUSH PRIVILEGES;"
130+
# mysql.exe --port=3307 --user=root --password="mysql_Pass11" -e "SELECT 1;"
131+
# - name: Setup MSSQL
132+
# run: |
133+
# choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=mssql_Pass11"
134+
# sqlcmd -S "(local)\SQLEXPRESS" -U sa -P "mssql_Pass11" -Q "SELECT 1;"
135+
# - name: Setup PostgreSQL
136+
# run: |
137+
# Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running
138+
# pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WITH PASSWORD 'postgresql_Pass11';" }
139+
# pwsh -Command { $env:PGPASSWORD="postgresql_Pass11"; & "$env:PGBIN\psql" -U postgres -c "SELECT 1;" }
140140
- name: Build
141141
run: .github/scripts/windows/build.bat
142142
- name: Test

0 commit comments

Comments
 (0)