mirror of
https://github.com/idealista/cookiecutter-ansible-role.git
synced 2024-12-02 19:07:29 +01:00
26 lines
611 B
Plaintext
26 lines
611 B
Plaintext
---
|
|
dist: xenial
|
|
language: python
|
|
python: "3.9"
|
|
os: linux
|
|
services:
|
|
- docker
|
|
install:
|
|
- pip install -I pipenv
|
|
- pipenv sync
|
|
env:
|
|
jobs:
|
|
{% if cookiecutter.debian_buster_support == 'True' %}- MOLECULE_DISTRO=debian:buster-slim{% endif %}
|
|
{% if cookiecutter.debian_bullseye_support == 'True' %}- MOLECULE_DISTRO=debian:bullseye-slim{% endif %}
|
|
script:
|
|
- pipenv run molecule test --all
|
|
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
email:
|
|
if: branch = main
|
|
on_success: change
|
|
on_failure: always
|
|
recipients:
|
|
- desarrollo.benders@idealista.com
|