2020-04-28 13:23:10 +02:00
|
|
|
---
|
|
|
|
dist: xenial
|
|
|
|
language: python
|
2022-11-07 13:16:25 +01:00
|
|
|
python: "3.9"
|
2020-04-28 13:23:10 +02:00
|
|
|
os: linux
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
install:
|
2022-11-07 13:16:25 +01:00
|
|
|
- pip install -I pipenv
|
2020-04-28 13:23:10 +02:00
|
|
|
- pipenv sync
|
|
|
|
env:
|
|
|
|
jobs:
|
2023-01-09 15:25:45 +01:00
|
|
|
{% if "buster" in cookiecutter.platforms.debian_list %}- MOLECULE_DISTRO=debian:buster-slim{% endif %}
|
|
|
|
{% if "bullseye" in cookiecutter.platforms.debian_list %}- MOLECULE_DISTRO=debian:bullseye-slim{% endif %}
|
2020-04-28 13:23:10 +02:00
|
|
|
script:
|
2020-12-03 09:52:35 +01:00
|
|
|
- pipenv run molecule test --all
|
2020-04-28 13:23:10 +02:00
|
|
|
|
|
|
|
notifications:
|
2020-12-03 09:52:35 +01:00
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
2021-04-29 15:32:18 +02:00
|
|
|
email:
|
|
|
|
if: branch = main
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
recipients:
|
2023-01-09 15:25:45 +01:00
|
|
|
- laur.ivan@gmail.com
|