-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev-task' into dev-v2012
* origin/dev-task: (44 commits) Added TaskManager::Add(string _entry) method which creates TaskEntry from JSON string. EA: Adds test for task init EA: Reenables initial task logic Trade: Integrates TaskManager logic CompileTest: Adds missing Task includes EA/Strategy: Integrates taskable actions Task: Adds struct methods for arguments EA: Integrates TaskManager logic with Task's conditions Strategy: Renames tsm to tasks Task: Fixes TaskCondition test GHA: Includes testing on .mq? changes Task: Fixes TaskAction test Strategy: Integrates TaskManager logic with Task's conditions Fixed DictObjectIterator's value pointer's cast. Fixed TaskEntry::Get()'s switch. Made tasks dictionary to store references to Task type. Task/TaskObject: Adds support for objects Task: Adds TaskManager Task: Improves processing methods Task: Adds TaskObject Task.test: Adds TestTask01() Task/Task: Adds missing virtual methods ...
- Loading branch information
Showing
63 changed files
with
3,651 additions
and
1,913 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
name: Test Task | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request: | ||
paths: | ||
- 'Task/**' | ||
- '.github/workflows/test-task.yml' | ||
push: | ||
paths: | ||
- 'Task/**' | ||
- '.github/workflows/test-task.yml' | ||
|
||
jobs: | ||
|
||
Compile: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Compile | ||
uses: fx31337/mql-compile-action@master | ||
with: | ||
init-platform: true | ||
path: 'Task/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@v2 | ||
with: | ||
name: files-ex4 | ||
path: '**/*.ex4' | ||
- name: Upload artifacts (MQL5) | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: files-ex5 | ||
path: '**/*.ex5' | ||
|
||
Task-Tests-MQL4: | ||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: Task/tests | ||
needs: Compile | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
test: | ||
- Task.test | ||
- TaskAction.test | ||
- TaskCondition.test | ||
- TaskGetter.test | ||
- TaskManager.test | ||
- TaskObject.test | ||
- TaskSetter.test | ||
- Taskable.car.test | ||
- Taskable.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 }} |
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
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
Oops, something went wrong.