zlacker

[parent] [thread] 2 comments
1. rubenf+(OP)[view] [source] 2023-05-12 21:29:53
In opposite order

2) yes, https://docs.windmill.dev/docs/advanced/local_development

1) since you can run them locally, you can also run tests as part of your CI. You can also deploy a full windmill as part of your CI, deploy to that local instance, run some e2e tests by calling the webhooks, and then only deploy once those work.

Note that we have a full drafting system baked in into the webeditor as well: https://docs.windmill.dev/docs/core_concepts/draft_and_deplo... and have support for folders with different permissions and you can create workspaces so you may implement dev/staging/prod in any fashion you like (different folder, workspace, instances)

replies(1): >>gregwe+Td1
2. gregwe+Td1[view] [source] 2023-05-13 11:26:11
>>rubenf+(OP)
How would I run unit tests on drafts?
replies(1): >>rubenf+be1
◧◩
3. rubenf+be1[view] [source] [discussion] 2023-05-13 11:31:41
>>gregwe+Td1
You would run your CI in github like you would for normal codebase, the draft aspect is something that is only for the frontend editor. Every time you push from the the CLI (which you could do upon merge to main), it is akin to do a deployment of the new versions.
[go to top]