mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
ci: add test for uncommitted changes in deploy directory
added test for uncommitted changes in deploy directory under go-test GH action. Also, created a new make target named `make check-deploy-committed` that can be used to verify the uncommitted changes. Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
e150fd986b
commit
71cbf3d7eb
4
Makefile
4
Makefile
@ -184,6 +184,10 @@ generate-deploy:
|
||||
go mod vendor
|
||||
$(MAKE) -C deploy
|
||||
|
||||
.PHONY: check-all-committed
|
||||
check-all-committed: ## Fail in case there are uncommitted changes
|
||||
test -z "$(shell git status --short)" || (echo "files were modified: " ; git status --short ; false)
|
||||
|
||||
#
|
||||
# e2e testing by compiling e2e.test in case it does not exist and running the
|
||||
# executable. The e2e.test executable is not checked as a dependency in the
|
||||
|
Reference in New Issue
Block a user