2 ms·
In opposite order 2) yes, https://docs.windmill.dev/docs/advanced/local_development https://docs.windmill.dev/docs/advanced/local_development 1) since you can
by rubenfiszel 3y ago
In opposite order
2) yes, https://docs.windmill.dev/docs/advanced/local_development 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_deploy 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)
- gregwebs 3y agoHow would I run unit tests on drafts?
- rubenfiszel 3y agoYou 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.