-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (52 loc) · 1.3 KB
/
test.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
53
54
55
56
57
58
---
name: Test
# yamllint disable-line rule:truthy
on:
pull_request:
branches:
- 'master'
- '*dev*'
paths-ignore:
- '*.md'
push:
branches:
- 'master'
- '*dev*'
paths-ignore:
- '*.md'
jobs:
compile:
name: Compile
uses: ./.github/workflows/compile.yml
test:
name: Test
needs: compile
runs-on: ubuntu-latest
strategy:
matrix:
file:
- Stg_MFI
year: [2022, 2024]
version: [5]
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: Strategy-ex${{ matrix.version }}
- name: List compiled files
run: find . -name '*.ex?' -type f -print
- name: Test ${{ matrix.year }}
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Password: ${{ secrets.MT5_PASSWORD }}
Server: MetaQuotes-Demo
TestDeposit: 2000
TestExpert: ${{ matrix.file }}.ex5
TestFromDate: ${{ matrix.year }}.01.01
TestPeriod: M1
TestSymbol: EURUSD
TestToDate: ${{ matrix.year }}.01.14
# yamllint disable-line rule:line-length
UrlExpert: file://${{ github.workspace }}/${{ matrix.file }}.ex5
Version: 5