Skip to content

Commit ae52f19

Browse files
committed
Fix Windows CI
The path to mysql.exe changed. Fortunately, chocolately puts the folder containing the exe in the PATH environment variable, so we don't even need to provide an absolute path.
1 parent f6ac08c commit ae52f19

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/scripts/windows/test_task.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ set PDO_MYSQL_TEST_PASS=%MYSQL_PWD%
3232
set PDO_MYSQL_TEST_HOST=%MYSQL_TEST_HOST%
3333
set PDO_MYSQL_TEST_PORT=%MYSQL_TEST_PORT%
3434
set PDO_MYSQL_TEST_DSN=mysql:host=%PDO_MYSQL_TEST_HOST%;port=%PDO_MYSQL_TEST_PORT%;dbname=test
35-
set TMP_MYSQL_BIN=C:\mysql\bin
36-
"%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"
35+
mysql --host=%PDO_MYSQL_TEST_HOST% --port=%MYSQL_TEST_PORT% --user=%MYSQL_TEST_USER% --password=%MYSQL_TEST_PASSWD% -e "CREATE DATABASE IF NOT EXISTS test"
3736
if %errorlevel% neq 0 exit /b 3
3837

3938
rem setup PostgreSQL related exts

0 commit comments

Comments
 (0)