/molecule-demo-monorepo

Tests monorepo with Ansible roles using Molecule

Primary LanguageYAML

molecule-demo-monorepo

Related article on Medium

Run tests

Run tests again all scenarios

make test

Run test again specific scenario

make scenario=lint test-scenario

Local usage

  1. Install poetry
  2. Install venv
  3. Create a virtual environment
virtualenv .venv
  1. Activate virtual environment
source .venv/bin/activate
  1. Install dependencies via poetry
poetry install

or using Makefile

make install_dependencies