26 lines
477 B
YAML
26 lines
477 B
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
variables:
|
|
- &molecule_image quay.io/thegeeklab/ansible-dev-tools:1
|
|
- &molecule_base
|
|
depends_on: []
|
|
environment:
|
|
PY_COLORS: "1"
|
|
HCLOUD_TOKEN:
|
|
from_secret: molecule_hcloud_token
|
|
|
|
steps:
|
|
- name: molecule-default
|
|
image: *molecule_image
|
|
<<: *molecule_base
|
|
commands:
|
|
- molecule test -s default
|
|
|
|
depends_on:
|
|
- lint
|