Skip to content

Commit

Permalink
Runs EA from the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Feb 18, 2024
1 parent 090e1e6 commit 0ddb441
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,25 @@ on:
- '*.md'

jobs:
Scripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run PrintPaths
uses: ./
with:
Script: PrintPaths
Experts:
ea:
name: Run EA
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 2
steps:
- uses: actions/checkout@v4
- name: Run TestBands
uses: ./
with:
TestExpert: TestBands.mq4
- name: Run TestEnvelopes
- name: Run Libre (4)
uses: ./
with:
TestExpert: TestEnvelopes.mq4
TestPeriod: M1
- name: Run TestTimeframes
TestExpert: EA31337-Libre-v1.013.ex4
UrlExpert: >-
https://github.com/EA31337/EA31337-Libre/releases/download/v1.013/EA31337-Libre-v1.013.ex4
Version: 4
- name: Run Libre (5)
uses: ./
with:
TestExpert: TestTimeframes.mq4
TestExpert: EA31337-Libre-v1.013.ex5
UrlExpert: >-
https://github.com/EA31337/EA31337-Libre/releases/download/v1.013/EA31337-Libre-v1.013.ex5
Version: 5
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ inputs:
TestToDate:
default:
description: The date to finish testing (yyyy.mm.dd).
UrlExpert:
default: https://github.com/EA31337/EA31337-Libre/releases/download/v1.013/EA31337-Libre-v1.013.ex5
description: URL of Expert Advisor to download.
Version:
default: 5
description: Version of platform to use.
Expand Down Expand Up @@ -180,6 +183,9 @@ runs:
Symbol: ${{ inputs.TestSymbol }}
ToDate: ${{ inputs.TestToDate }}
Visual: 0
mt_runner_get_url_list:
- dest: "{{ mt_runner_mt_path }}/MQL${{ inputs.Version }}/Experts"
url: "${{ inputs.UrlExpert }}"
- name: Runs playbook
uses: dawidd6/action-ansible-playbook@v2
with:
Expand Down

0 comments on commit 0ddb441

Please sign in to comment.