feat(tests): add nightly workflow - #16
Conversation
missytake
left a comment
There was a problem hiding this comment.
Looks good to me, but I guess others should look at this as well :)
I think there was also the idea to run https://github.com/chatmail/core/blob/main/.github/workflows/ci.yml against the four different deployment options? afaict you can only pass one CHATMAIL_DOMAIN to it, so it doesn't seem to be cross-server. Which should be enough, too :D
but maybe a cmlxc core-test command is out of scope for this PR, this is already a good start.
How do we get notified on failure?
2b322ff to
645ba94
Compare
hpk42
left a comment
There was a problem hiding this comment.
it's a bit weird this is living in cmlxc but i guess it's worth a try if this nightly approach reliably works.
ee8b08c to
2f93e70
Compare
I think we could just move it over to the relay repo and call the reusable workflow from there. The question about notification on test failures is relevant: It seems one way to do it would be to allow the action to create an issue when the build fails (and potentially auto-close it when it succeeds again). Or somehow patching cmsend in, with its state in a secret or something. |
d7ecf5d to
b90b5dd
Compare
4a9dc6f to
bd8fe12
Compare
90ee135 to
251ebd9
Compare
bd8fe12 to
a34d855
Compare
251ebd9 to
0c3ab70
Compare
a34d855 to
8be4379
Compare
8be4379 to
51d7475
Compare
51d7475 to
97613b0
Compare
97613b0 to
bc5eaee
Compare
.github/workflows/nightly.yml: - Scheduled at 02:17 UTC daily (also workflow_dispatch for manual runs). - based on reusable workflow
bd37e6c to
95c2e14
Compare
.github/workflows/nightly.yml:
Adds .github/workflows/nightly.yml, a daily full-stack integration run of lxc-test.yml workflow across a larger matrix of relay deployments.
Before merge, drop the two blocks marked TEMPORARY in the workflow: the push: trigger on this branch, and cmlxc_version: ${{ github.sha }}, which pins the reusable workflow to the branch under test rather than main.