Merge remote-tracking branch 'origin/v3.006-dev' into v3.008-dev-new #22
Workflow file for this run
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 Platform/Web | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
paths: | |
- 'Platform/Web/**' | |
- '.github/workflows/test-platform-web.yml' | |
push: | |
paths: | |
- 'Platform/Web/**' | |
- '.github/workflows/test-platform-web.yml' | |
jobs: | |
Compile: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile | |
uses: fx31337/mql-compile-action@master | |
with: | |
init-platform: true | |
path: 'Platform/Web/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@v3 | |
with: | |
name: files-ex4 | |
path: '**/*.ex4' | |
- name: Upload artifacts (MQL5) | |
uses: actions/upload-artifact@v3 | |
with: | |
name: files-ex5 | |
path: '**/*.ex5' | |
Tests-MQL4: | |
defaults: | |
run: | |
shell: bash | |
working-directory: Platform/Web/tests | |
needs: Compile | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test: | |
# @fixme: GH-266 | |
- Web.test | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: files-ex4 | |
- name: Run ${{ matrix.test }} | |
uses: fx31337/mql-tester-action@master | |
with: | |
Script: ${{ matrix.test }} | |
RunOnFail: "exit 0" | |
if: always() | |
timeout-minutes: 10 |