Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ compatibility with CI fixes #767

Merged
merged 7 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .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 All @@ -62,7 +64,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -60,7 +62,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -62,7 +64,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -68,7 +70,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -63,7 +65,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -62,7 +64,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -65,7 +67,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -64,7 +66,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -62,7 +64,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -65,7 +67,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -63,7 +65,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
8 changes: 5 additions & 3 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 All @@ -62,7 +64,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -112,7 +114,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
6 changes: 4 additions & 2 deletions .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 All @@ -62,7 +64,7 @@ jobs:
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ env.TEST_PATH }}/${{ matrix.test }}.ex${{ matrix.version }}
Version: 5
- if: ${{ failure() }}
- if: ${{ failure() && runner.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 20

Expand Down
Loading
Loading