Skip to content

Commit 747f309

Browse files
committed
🔧 Update Windows CI configuration for HURL tests
Update the Windows CI configuration to properly set environment variables for HURL tests. This ensures that the tests have access to the required credentials and configuration parameters.
1 parent d57be00 commit 747f309

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/windows-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,13 @@ jobs:
174174
( php "%PHPROOT%\phpunit" -d memory_limit=-1 -c %CD%\test\phpunit\phpunittest.xml "test\phpunit\AllTests.php" --exclude-group WindowsWaitingForFix & call doskey /exename=err err=%%^^errorlevel%% ) | "${{ env.TEE }}" "${{ env.PHPUNIT_LOG }}"
175175
IF "${{ env.RUN_HURL_TESTS }}" == "true" (
176176
ECHO "==== START HURL TESTS"
177-
"C:\Program Files\Git\bin\bash.EXE" --noprofile --norc -e -o pipefail "test/hurl/run.sh" 2>&1 | "${{ env.TEE }}" -a "${{ env.PHPUNIT_LOG }}"
177+
"C:\Program Files\Git\bin\bash.EXE" --noprofile --norc -e -o pipefail -c "
178+
export DOLIPORT='${{ env.DOLIPORT }}' ;
179+
export DOLIHOST='${{ env.DOLIHOST }}' ;
180+
export DOLIUSERNAME='${{ env.DOLIUSERNAME }}' ;
181+
export DOLIPASSWORD='${{ env.DOLIPASSWORD }}' ;
182+
test/hurl/run.sh
183+
" 2>&1 | "${{ env.TEE }}" -a "${{ env.PHPUNIT_LOG }}"
178184
)
179185
echo ""
180186
echo "Ensure that PHPUNIT completed (no early exit from code)"

0 commit comments

Comments
 (0)