👷 Add Github Action

This commit is contained in:
Emilien Mantel
2024-08-26 16:56:50 +02:00
committed by Emilien M
parent 88934d3631
commit 2fd648e62e
5 changed files with 117 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ scenario:
- idempotence
- verify
- destroy
dependency:
name: shell
command: "${MOLECULE_SCENARIO_DIRECTORY}/../_shared/tools/install-dependencies.sh"
driver:
name: docker
role_name_check: 1

View File

@@ -0,0 +1,8 @@
#!/bin/sh
if [ -z "${IS_GITHUB_ACTIONS}" ]; then
echo "This script is run in GitHub Actions."
pip install netaddr
fi
ansible-galaxy collection install -r requirements.yml