Skip to content

Commit

Permalink
GHA: Fixes compilation for indicator test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 24, 2024
1 parent d6bde70 commit 761b3d7
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions .github/workflows/test-indicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,20 @@ on:

jobs:

Compile:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Compile
uses: fx31337/mql-compile-action@master
with:
init-platform: true
path: 'Indicator/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@v2
with:
name: files-ex4
path: '**/*.ex4'
- name: Upload artifacts (MQL5)
uses: actions/upload-artifact@v2
with:
name: files-ex5
path: '**/*.ex5'
compile:
name: Compile
uses: ./.github/workflows/compile.yml
with:
artifact_prefix: mt
skip_cleanup: true

Indicator-Tests-MQL4:
defaults:
run:
shell: bash
working-directory: Indicator/tests
needs: Compile
if: false
needs: compile
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 761b3d7

Please sign in to comment.