Skip to content

Commit

Permalink
GHA: Fixes workflow test for Exchange using new format
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 24, 2024
1 parent 42d1880 commit b847600
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions .github/workflows/test-exchange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,19 @@ 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: 'Exchange/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

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

0 comments on commit b847600

Please sign in to comment.