UNPKG

@installdoc/ansible-gas-station

Version:

An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤

34 lines (31 loc) 894 B
--- version: '3' tasks: ci: deps: - :install:python:pytest - :install:python:pytest-cov - :install:software:poetry log: error: Error encountered while running `pytest` and generating reports start: Running `pytest` and generating reports success: Finished running `pytest` and generating reports cmds: - poetry config virtualenvs.create false - poetry install --no-dev - | {{.PYTHON_HANDLE}}pytest --junitxml=report.xml --cov=src/ - | {{.PYTHON_HANDLE}}coverage report - | {{.PYTHON_HANDLE}}coverage xml pytest: deps: - :install:python:requirements log: error: '`pytest` encountered errors while running tests' start: Running `pytest` success: '`pytest` finished running without any errors to report' cmds: - | {{.PYTHON_HANDLE}}pytest