diff --git a/Makefile b/Makefile index 7c280c7a..673ba5fc 100644 --- a/Makefile +++ b/Makefile @@ -176,3 +176,12 @@ stop-argo: ## Stop the argo server test-on-cluster: ## Run workflow tests (requires local argo cluster) @(kubectl -n argo port-forward deployment/argo-server 2746:2746 &) @poetry run python -m pytest tests/submissions -m on_cluster + +.PHONY: lint-argo +lint-argo: ## Run argo lint command on examples folder and report problems (requires local argo cluster) + @(kubectl -n argo port-forward deployment/argo-server 2746:2746 &) + @argo lint \ + --argo-server=localhost:2746 \ + --insecure-skip-verify \ + --token=dummy \ + examples