File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1- name : Test MetaTrader5 Integration
1+ name : Test | Test MetaTrader5 Integration
22
33on :
44 push :
@@ -26,15 +26,23 @@ jobs:
2626 Start-Process -FilePath .\mt5setup.exe -ArgumentList "/auto" -Wait
2727
2828 # Verify installation
29- if (Test-Path "C:\Program Files\MetaTrader 5\terminal64.exe") {
29+ $mtPath = "C:\Program Files\MetaTrader 5\terminal64.exe"
30+ if (Test-Path $mtPath) {
3031 Write-Host "MetaTrader 5 installed successfully"
32+ Write-Host "MetaTrader 5 found at: $mtPath"
33+
34+ # List installation directory for debugging
35+ Write-Host "Listing MetaTrader 5 installation directory:"
36+ Get-ChildItem "C:\Program Files\MetaTrader 5"
3137 } else {
3238 Write-Error "MetaTrader 5 installation failed"
3339 exit 1
3440 }
3541
3642 # Start MT5 in portable mode
37- Start-Process -FilePath "C:\Program Files\MetaTrader 5\terminal64.exe" -ArgumentList "/portable" -PassThru
43+ $mtProcess = Start-Process -FilePath $mtPath -ArgumentList "/portable" -PassThru
44+ $processId = $mtProcess.Id
45+ Write-Host "Started MetaTrader 5 terminal with process ID: $processId"
3846 Start-Sleep -Seconds 30
3947
4048 - name : Install Python dependencies
You can’t perform that action at this time.
0 commit comments