Skip to content

Merge remote-tracking branch 'origin/v3.006-dev' into v3.008-dev-new #111

Merge remote-tracking branch 'origin/v3.006-dev' into v3.008-dev-new

Merge remote-tracking branch 'origin/v3.006-dev' into v3.008-dev-new #111

---
name: Test Indicators (Bitwise)
# yamllint disable-line rule:truthy
on:
pull_request:
paths:
- 'Indicator/**'
- 'Indicators/Bitwise/**'
- '.github/workflows/test-indicators-bitwise.yml'
push:
paths:
- 'Indicator**'
- 'Indicators/Bitwise/**'
- '.github/workflows/test-indicators-bitwise.yml'
jobs:
Compile:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Compile
uses: fx31337/mql-compile-action@master
with:
init-platform: true
path: 'Indicators/Bitwise/tests'
verbose: true
- name: Print compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'
shell: powershell
- name: Upload artifacts (MQL4)
uses: actions/upload-artifact@v3
with:
name: files-ex4
path: '**/*.ex4'
- name: Upload artifacts (MQL5)
uses: actions/upload-artifact@v3
with:
name: files-ex5
path: '**/*.ex5'
Tests-MQL4:
defaults:
run:
shell: bash
working-directory: Indicators/Bitwise/tests
needs: Compile
runs-on: ubuntu-latest
strategy:
matrix:
test:
- Indi_Candle.test
- Indi_Pattern.test
steps:
- uses: actions/download-artifact@v3
with:
name: files-ex4
- name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
BtDays: 4-8
BtMonths: 1
BtYears: 2021
GitHubApiToken: ${{ github.token }}
RunOnError: show_logs 200
TestExpert: ${{ matrix.test }}
timeout-minutes: 10