Skip to content

Commit 2398bb2

Browse files
committed
Improve GitHub Actions, removing redundancy
1 parent 8e3b7ab commit 2398bb2

File tree

2 files changed

+2
-53
lines changed

2 files changed

+2
-53
lines changed

.github/workflows/test-metatrader5-integration.yml renamed to .github/workflows/test-pytest-and-integration.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test | Integration Test
1+
name: Test | Pytest and Integration Test
22

33
on:
44
workflow_dispatch:
@@ -69,18 +69,6 @@ jobs:
6969
throw "MT5 failed to start"
7070
}
7171
72-
# - name: Install MetaTrader5 Python package
73-
# run: pip install MetaTrader5
74-
75-
# - name: Run MT5 Test
76-
# env:
77-
# MT5_LOGIN: ${{ secrets.MT5_LOGIN }}
78-
# MT5_PASSWORD: ${{ secrets.MT5_PASSWORD }}
79-
# MT5_SERVER: "MetaQuotes-Demo"
80-
# MT5_PATH: "C:\\Program Files\\MetaTrader 5\\terminal64.exe"
81-
# run: |
82-
# python tests/integration/test_mt5_connection.py
83-
8472
- name: Install dependencies
8573
run: |
8674
python -m pip install --upgrade pip
@@ -94,7 +82,7 @@ jobs:
9482
MT5_SERVER: "MetaQuotes-Demo"
9583
MT5_PATH: "C:\\Program Files\\MetaTrader 5\\terminal64.exe"
9684
run: |
97-
pytest -k . --cov=mqpy --cov-append --cov-report=term-missing:skip-covered --junitxml=pytest.xml -x | tee pytest-coverage.txt
85+
pytest -k . --cov=mqpy --cov-append --junitxml=pytest.xml -x | tee pytest-coverage.txt
9886
9987
- name: Generate coverage summary
10088
shell: pwsh

.github/workflows/test-pytest.yaml

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

0 commit comments

Comments
 (0)