-
-
Notifications
You must be signed in to change notification settings - Fork 83
72 lines (70 loc) · 1.8 KB
/
tests-mql.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
name: Tests-MQL
# yamllint disable-line rule:truthy
on:
pull_request:
paths:
- '**/docker-compose.yml'
- '**/*.mq?'
- '.github/workflows/tests-mql.yml'
push:
paths:
- '**/docker-compose.yml'
- '**/*.mq?'
- '.github/workflows/tests-mql.yml'
jobs:
Tests-MT4:
defaults:
run:
shell: bash
working-directory: tests
runs-on: ubuntu-latest
strategy:
matrix:
test:
- ScriptDummy
- ScriptPrintPaths
- ScriptSymbolsRaw
- ScriptSymbolsSel
- ScriptSymgroupsRaw
- ScriptTicksRaw
- TestEnvelopes
- TestFXTHeader
- TestHSTHeader
- TestMargin
- TestModellingQuality
- TestTimeframes
steps:
- uses: actions/checkout@v4
- name: Check dependencies
if: github.actor == 'nektos/act'
run: >
apt-get update
&& apt-get -qq install python-pip
&& pip install docker-compose
- name: Run ${{ matrix.test }}
run: docker compose run ${{ matrix.test }}
Tests-MT4-Ignored:
defaults:
run:
shell: bash
working-directory: tests
runs-on: ubuntu-latest
strategy:
matrix:
test:
- TestBands # @fixme: GH-206
- TestLeverage # @fixme: GH-207
- TestLotstep4 # @fixme: GH-208
- TestLotstep5 # @fixme: GH-208
- TestSpread # @fixme: GH-209
steps:
- uses: actions/checkout@v4
- name: Check dependencies
if: github.actor == 'nektos/act'
run: >
apt-get update
&& apt-get -qq install python-pip
&& pip install docker-compose
- name: Run ${{ matrix.test }}
run: docker compose run ${{ matrix.test }} || true