Skip to content

Commit ee5e2fc

Browse files
committed
integration test part 2
1 parent 6f95e41 commit ee5e2fc

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/test-metatrader5-integration.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test MetaTrader5 Integration
1+
name: Test | Test MetaTrader5 Integration
22

33
on:
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

0 commit comments

Comments
 (0)