Skip to content

Commit 5890e99

Browse files
committed
fix paths for GH Actions
1 parent ef8ed69 commit 5890e99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ if /i "%GITHUB_ACTIONS%" equ "True" (
5858
set PDO_MYSQL_TEST_USER=%MYSQL_TEST_USER%
5959
set PDO_MYSQL_TEST_PASS=%MYSQL_TEST_PASSWD%
6060
set PDO_MYSQL_TEST_DSN=mysql:host=%PDO_MYSQL_TEST_HOST%;port=%PDO_MYSQL_TEST_PORT%;dbname=test
61-
"C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" --user=%MYSQL_TEST_USER% -e "CREATE DATABASE IF NOT EXISTS test"
61+
mysql --user=%MYSQL_TEST_USER% -e "CREATE DATABASE IF NOT EXISTS test"
6262
if %errorlevel% neq 0 exit /b 3
6363

6464
set PGUSER=postgres
6565
set PGPASSWORD=postgresql_Pass11
6666
rem set PGSQL_TEST_CONNSTR=host=127.0.0.1 dbname=test port=5432 user=%PGUSER% password=%PGPASSWORD%
6767
echo ^<?php $conn_str = "host=127.0.0.1 dbname=test port=5432 user=%PGUSER% password=%PGPASSWORD%"; ?^> >> ext\pgsql\tests\config.inc
6868
set PDO_PGSQL_TEST_DSN=pgsql:host=127.0.0.1 port=5432 dbname=test user=%PGUSER% password=%PGPASSWORD%
69-
"C:\Program Files\PostgreSQL\10\bin\createdb.exe" test
69+
"%PGBIN%\createdb.exe" test
7070
if %errorlevel% neq 0 exit /b 3
7171

7272
set ODBC_TEST_USER=sa

0 commit comments

Comments
 (0)