1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

chore: add makefile ansible-test targets (#401)

##### SUMMARY

This helps to run sanity/units/integrations tests locally.
This commit is contained in:
Jonas L 2023-11-24 12:13:46 +01:00 committed by GitHub
parent df8c3b6a59
commit d3c23d0b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,3 +24,20 @@ lint-docs: venv
clean:
git clean -xdf \
-e tests/integration/cloud-config-hcloud.ini
sanity:
ansible-test sanity --color --truncate 0 -v \
--exclude plugins/module_utils/vendor/ \
--exclude scripts/ \
--exclude tests/utils/ \
--docker default \
--allow-disabled
units:
ansible-test units --color --truncate 0 -v \
--docker default
integration:
ansible-test integration --color --truncate 0 -v \
--docker default \
--allow-disabled