Merge pull request #234 from EA31337/dev #315
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: 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 |