canonical / charm-local-users

A subordinate charm for creating and managing local user accounts and groups on principal units.
Apache License 2.0
0 stars 4 forks source link

[WIP] ci: Add weekly test workflow file #13

Closed dashmage closed 9 months ago

dashmage commented 9 months ago

Runs lint, unit and functional tests at specified time weekly. If the test fails, the pre-configured Mattermost channel is notified with a message.

In order to understand the changes better, take a look at the runs in "Weekly Tests" action in the dashmage/charm-local-users project.

Run with test passing Run with test failing and Mattermost channel being notified

The above POC was configured with a webhook from my Mattermost user which would create a message like this: image

Helpful references:

Note: Status is WIP because we are still waiting for the Mattermost bot account through which we can create the webhook and add the MATTERMOST_WEBHOOK_URL secret`.

dashmage commented 9 months ago

Closing this PR since we're going ahead with the approach where all the tests are triggered from a single workflow