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:
parent
df8c3b6a59
commit
d3c23d0b86
1 changed files with 17 additions and 0 deletions
17
Makefile
17
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue