Skip to content

Merge remote-tracking branch 'origin/v3.003-dev' into v3.006-dev-new #331

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

Merge remote-tracking branch 'origin/v3.003-dev' into v3.006-dev-new #331

Workflow file for this run

---
name: Test Trade
# yamllint disable-line rule:truthy
on:
pull_request:
paths:
- 'Trade/**.h'
- 'Trade/**.mq?'
- '.github/workflows/test-trade.yml'
push:
paths:
- 'Trade/**.h'
- 'Trade/**.mq?'
- '.github/workflows/test-trade.yml'
jobs:
compile:
name: Compile
uses: ./.github/workflows/compile.yml
with:
artifact_prefix: mt
path: Trade
skip_cleanup: true
Trade-Tests-MQL4:
defaults:
run:
shell: bash
working-directory: Trade/tests
if: false
needs: compile
runs-on: ubuntu-latest
strategy:
matrix:
test:
- TradeSignalTest
- TradeSignalManagerTest
steps:
- uses: actions/download-artifact@v2
with:
name: files-ex4
- name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Script: ${{ matrix.test }}
RunOnError: show_logs 200
timeout-minutes: 10
cleanup:
name: Clean-up
needs: [compile]
uses: ./.github/workflows/cleanup.yml