-
-
Notifications
You must be signed in to change notification settings - Fork 102
52 lines (47 loc) · 1.02 KB
/
test-account.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
name: Test Account
# yamllint disable-line rule:truthy
on:
pull_request:
paths:
- 'Account/**.h'
- '.github/workflows/test-account.yml'
push:
paths:
- 'Account/**.h'
- '.github/workflows/test-account.yml'
jobs:
compile:
name: Compile
uses: ./.github/workflows/compile.yml
with:
artifact_prefix: mt
path: Account
skip_cleanup: true
Account-Tests-MQL4:
defaults:
run:
shell: bash
working-directory: Account/tests
if: false
needs: compile
runs-on: ubuntu-latest
strategy:
matrix:
test:
- Account.test
- AccountForex.test
- AccountMt.test
steps:
- uses: actions/download-artifact@v2
with:
name: files-ex4
- name: Run ${{ matrix.test }}
uses: fx31337/mql-tester-action@master
with:
Script: ${{ matrix.test }}
timeout-minutes: 10
cleanup:
name: Clean-up
needs: [compile]
uses: ./.github/workflows/cleanup.yml