Skip to content

Commit ce9983c

Browse files
committed
ci: trial
1 parent 0f8c372 commit ce9983c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/backwards_compatibility.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ jobs:
115115
.\.venv\Scripts\Activate.ps1
116116
# Write command to file dbug.txt for debugging purposes
117117
echo "docker run --detach --name $env:GEO_CONT_NAME -e LICENSE_SERVER=$env:ANSRV_GEO_LICENSE_SERVER $env:SERVER_ENDPOINT -p $env:PORT_MAPPING $env:FULL_IMAGE_NAME $env:TRANSPORT_MODE_SELECTION" | Out-File -FilePath dbug.txt -Append
118-
docker run --detach --name $env:GEO_CONT_NAME -e LICENSE_SERVER=$env:ANSRV_GEO_LICENSE_SERVER $env:SERVER_ENDPOINT -p $env:PORT_MAPPING $env:FULL_IMAGE_NAME $env:TRANSPORT_MODE_SELECTION
118+
# Read the file and execute the command
119+
$command = Get-Content -Path dbug.txt | Select-String -Pattern "docker run"
120+
Invoke-Expression $command.Line
119121
Start-Sleep -Seconds 10
120122
python -c "from ansys.geometry.core.connection.validate import validate; validate()"
121123

0 commit comments

Comments
 (0)