Skip to content

Commit 2eb542e

Browse files
committed
clean some files
1 parent 5ff1796 commit 2eb542e

File tree

5 files changed

+14
-375
lines changed

5 files changed

+14
-375
lines changed

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

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

33
on:
44
push:
@@ -22,25 +22,25 @@ jobs:
2222
run: |
2323
# Download MT5 setup
2424
Invoke-WebRequest -Uri "https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe" -OutFile mt5setup.exe
25-
25+
2626
# Install MT5 silently
2727
Start-Process -FilePath .\mt5setup.exe -ArgumentList "/auto" -Wait
28-
28+
2929
# Verify installation and set up permissions
3030
$mtPath = "C:\Program Files\MetaTrader 5\terminal64.exe"
3131
if (Test-Path $mtPath) {
3232
Write-Host "MetaTrader 5 installed successfully at: $mtPath"
33-
33+
3434
# Set explicit permissions to ensure we can access files
3535
icacls "C:\Program Files\MetaTrader 5" /grant:r "Everyone:(OI)(CI)F" /T
36-
36+
3737
# Create base directories needed for MT5
3838
$baseDir = "$env:APPDATA\MetaQuotes\Terminal"
3939
if (!(Test-Path $baseDir)) {
4040
New-Item -Path $baseDir -ItemType Directory -Force
4141
Write-Host "Created base MT5 directory: $baseDir"
4242
}
43-
43+
4444
# List installation directory for verification
4545
Write-Host "MetaTrader 5 installation directory contents:"
4646
Get-ChildItem "C:\Program Files\MetaTrader 5" | Format-Table Name, LastWriteTime, Length
@@ -59,24 +59,23 @@ jobs:
5959
# Check for any running MT5 processes before test
6060
Write-Host "Checking for MetaTrader processes before test:"
6161
Get-Process | Where-Object { $_.ProcessName -like "*terminal*" } | Format-Table Id, Name, Path
62-
62+
6363
# Run the advanced headless initialization test
6464
python tests/integration/test_mt5_headless_init.py
65-
65+
6666
# Save exit code but don't fail the build
6767
$testExitCode = $LASTEXITCODE
68-
68+
6969
# Check for MetaTrader processes after test
7070
Write-Host "MetaTrader processes after test:"
7171
Get-Process | Where-Object { $_.ProcessName -like "*terminal*" } | Format-Table Id, Name, Path
72-
72+
7373
# If test failed, continue but log the failure
7474
if ($testExitCode -ne 0) {
7575
Write-Host "::warning::MetaTrader5 initialization test failed, but continuing the build"
7676
} else {
7777
Write-Host "MetaTrader5 initialization test succeeded!"
7878
}
79-
79+
8080
# Always exit with success to avoid breaking CI
8181
exit 0
82-

mkdocs.yaml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,12 @@ extra:
1010
- icon: fontawesome/brands/github
1111
link: https://github.com/Joaopeuko/Mql5-Python-Integration
1212
name: GitHub
13-
analytics:
14-
provider: google
15-
property: !ENV GOOGLE_ANALYTICS_KEY
13+
# analytics:
14+
# provider: google
15+
# property: !ENV GOOGLE_ANALYTICS_KEY
1616
status:
1717
new: Recently added
1818
deprecated: Deprecated
19-
# Display GitHub stars and forks metrics
20-
analytics:
21-
feedback:
22-
title: Was this page helpful?
23-
ratings:
24-
- icon: material/thumb-up-outline
25-
name: This page was helpful
26-
data: 1
27-
note: >-
28-
Thanks for your feedback!
29-
- icon: material/thumb-down-outline
30-
name: This page could be improved
31-
data: 0
32-
note: >-
33-
Thanks for your feedback! Help us improve by using
34-
<a href="https://github.com/Joaopeuko/Mql5-Python-Integration/issues/new/?title=[Feedback]+{title}+-+{url}" target="_blank" rel="noopener">our issue tracker</a>.
35-
3619
markdown_extensions:
3720
- pymdownx.snippets
3821
- pymdownx.tasklist:

tests/integration/test_headless_initialize.py

Lines changed: 0 additions & 126 deletions
This file was deleted.

tests/integration/test_mt5_connection.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)