Skip to content

Molecule: Adds env to provisioner #62

Molecule: Adds env to provisioner

Molecule: Adds env to provisioner #62

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_MT5_LOGIN: ${{ secrets.MT_RUNNER_MT5_LOGIN || '12345' }}
MT_RUNNER_MT5_PASSWORD: ${{ secrets.MT_RUNNER_MT5_PASSWORD || '12345' }}
with:
molecule_args: --scenario-name ${{ matrix.scenario }}
molecule_command: test
molecule_options: --verbose
molecule_working_dir: "${{ github.repository }}"
timeout-minutes: 20