Skip to content

Molecule: Adds missing environments and minor changes #65

Molecule: Adds missing environments and minor changes

Molecule: Adds missing environments and minor changes #65

Workflow file for this run

---
name: Molecule
# yamllint disable-line rule:truthy
on:
pull_request:
push:
jobs:
Test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scenario:
- default
- mt4
- mt5-ea
steps:
- uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- uses: gofrolist/molecule-action@v2
env:
ANSIBLE_FORCE_COLOR: '1'
ANSIBLE_STDOUT_CALLBACK: yaml
MT_RUNNER_MT4_LOGIN: ${{ secrets.MT_RUNNER_MT4_LOGIN || 'SETME' }}
MT_RUNNER_MT4_PASSWORD: ${{ secrets.MT_RUNNER_MT4_PASSWORD || 'SETME' }}
MT_RUNNER_MT5_LOGIN: ${{ secrets.MT_RUNNER_MT5_LOGIN || 'SETME' }}
MT_RUNNER_MT5_PASSWORD: ${{ secrets.MT_RUNNER_MT5_PASSWORD || 'SETME' }}
with:
molecule_args: --scenario-name ${{ matrix.scenario }}
molecule_command: test
molecule_options: --verbose
molecule_working_dir: "${{ github.repository }}"
timeout-minutes: 20