Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v3.008-dev-new' into v3.009-dev-new
Browse files Browse the repository at this point in the history
* origin/v3.008-dev-new:
  CI: Removes Tick workflow as redundant
  CI: Runs tmate only on failure in debug mode
  CI: Do not run test if login is not specified [no-ci]
  C++ compatibility fixes.
  • Loading branch information
kenorb committed Sep 8, 2024
2 parents 3b755e9 + fdb8e9b commit b9907e2
Show file tree
Hide file tree
Showing 71 changed files with 772 additions and 648 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-exchange-account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Exchange/Account

env:
TEST_PATH: Exchange/Account/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -47,7 +48,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-exchange-symbolinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Exchange/SymbolInfo

env:
TEST_PATH: Exchange/SymbolInfo/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -45,7 +46,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-exchange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Exchange

env:
TEST_PATH: Exchange/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -47,7 +48,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicator

env:
TEST_PATH: Indicator/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -53,7 +54,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators-bitwise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (Bitwise)

env:
TEST_PATH: Indicators/Bitwise/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -48,7 +49,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators-ohlc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (OHLC)

env:
TEST_PATH: Indicators/OHLC/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -47,7 +48,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators-oscillator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (Oscillator)

env:
TEST_PATH: Indicators/Oscillator/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -50,7 +51,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators-price.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (Price)

env:
TEST_PATH: Indicators/Price/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -49,7 +50,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators-pricemulti.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (PriceMulti)

env:
TEST_PATH: Indicators/PriceMulti/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -47,7 +48,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators-pricerange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (PriceRange)

env:
TEST_PATH: Indicators/PriceRange/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -50,7 +51,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators-special.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (Special)

env:
TEST_PATH: Indicators/Special/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -48,7 +49,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-indicators-tick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators (Tick)

env:
TEST_PATH: Indicators/Tick/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -38,7 +39,7 @@ jobs:
strategy:
matrix:
test:
- Indi_Tick.test
- Indi_TickMt.test
version: [5]
max-parallel: 4
steps:
Expand All @@ -47,7 +48,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-indicators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Indicators

env:
TEST_PATH: Indicators/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -97,7 +98,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-math.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Math

env:
TEST_PATH: Math/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -47,7 +48,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-platform-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Platform/Chart

env:
TEST_PATH: Platform/Chart/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -46,7 +47,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-platform-chart3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Platform/Chart3D

env:
TEST_PATH: Platform/Chart3D/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -45,7 +46,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-platform-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Platform/Web

env:
TEST_PATH: Platform/Web/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -46,7 +47,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Platform

env:
TEST_PATH: Platform/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -50,7 +51,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-serializer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Serializer

env:
TEST_PATH: Serializer/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -45,7 +46,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-storage-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Storage/Cache

env:
TEST_PATH: Storage/Cache/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -46,7 +47,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-storage-dict-buffer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Test Storage/Dict/Buffer

env:
TEST_PATH: Storage/Dict/Buffer/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}

# yamllint disable-line rule:truthy
on:
Expand Down Expand Up @@ -50,7 +51,8 @@ jobs:
name: files-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Run ${{ matrix.test }}
- if: ${{ env.TEST_SKIP != true }}
name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Expand Down
Loading

0 comments on commit b9907e2

Please sign in to comment.