mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
d04c18ffce
* add discord integration tests
* fix: var name in readme
(cherry picked from commit aa045d2655
)
Co-authored-by: CWollinger <CWollinger@web.de>
531 B
531 B
The integration tests can be executed locally:
-
Create or use an existing discord server
-
Open
Server Settings
and navigate toIntegrations
tab -
Click
Create Webhook
to create a new webhook -
Click
Copy Webhook URL
and extract the webhook_id + webhook_tokenExample: https://discord.com/api/webhooks/
webhook_id
/webhook_token
-
Replace the variables
discord_id
anddiscord_token
in the var file -
Run the integration test
ansible-test integration -v --color yes discord --allow-unsupported