Skip to content

Commit

Permalink
Add argo lint on examples directory
Browse files Browse the repository at this point in the history
Signed-off-by: Ukjae Jeong <[email protected]>
  • Loading branch information
jeongukjae committed Oct 17, 2024
1 parent e7ed95b commit 6529478
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6529478

Please sign in to comment.