Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #243
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 Exchange | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
paths: | |
- 'Exchange/**.h' | |
- 'Exchange/**.mq?' | |
- '.github/workflows/test-exchange.yml' | |
push: | |
paths: | |
- 'Exchange/**.h' | |
- 'Exchange/**.mq?' | |
- '.github/workflows/test-exchange.yml' | |
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' | |
Exchange-Tests-MQL4: | |
defaults: | |
run: | |
shell: bash | |
working-directory: Exchange/tests | |
needs: Compile | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test: | |
- Exchange.test | |
steps: | |
- uses: actions/[email protected] | |
with: | |
name: files-ex4 | |
- name: Run ${{ matrix.test }} | |
uses: fx31337/mql-tester-action@master | |
with: | |
Script: ${{ matrix.test }} | |
timeout-minutes: 10 |