Merge remote-tracking branch 'origin/v3.003-dev' into v3.006-dev-new #333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |