To initialized Strategy we now call Init() instead of OnInit() #7
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 | |
# 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_Meta_RSI | |
year: [2022, 2024] | |
steps: | |
- uses: actions/download-artifact@v4 | |
with: | |
merge-multiple: true | |
pattern: Strategy.ex? | |
- 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 |