Skip to content

Commit

Permalink
GHA: Improves Backtest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Feb 18, 2024
1 parent a72be12 commit 1a0f6ca
Showing 1 changed file with 6 additions and 30 deletions.
36 changes: 6 additions & 30 deletions .github/workflows/backtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,18 @@ on:

jobs:

Compile:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: List MQL files
run: '(Get-ChildItem -Recurse -Path . -Include *.mq[45]).fullname'
shell: powershell
- name: Compiles EA (MQL4)
uses: fx31337/mql-compile-action@master
with:
path: src\EA31337-Libre.mq4
verbose: true

- name: Compiles EA (MQL5)
uses: fx31337/mql-compile-action@master
with:
path: src\EA31337-Libre.mq5
verbose: true
- name: List compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: EA
path: 'src/*.ex?'
compile:
name: Compile
uses: .github/workflows/compile.yml@dev-v3000

Backtest:
backtest:

defaults:
run:
shell: bash

needs: Compile
name: Backtest
needs: compile
runs-on: ubuntu-latest

strategy:
Expand Down

0 comments on commit 1a0f6ca

Please sign in to comment.