mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
aa045d2655
* add discord integration tests * fix: var name in readme |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
aliases | ||
README.md |
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