From ae37c25d25a6499652026ab0e74089ef46814a0c Mon Sep 17 00:00:00 2001 From: William Martin Date: Mon, 14 Oct 2024 13:06:16 +0200 Subject: [PATCH 1/2] Add acceptance task to makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e68b68939..04babcc53 100644 --- a/Makefile +++ b/Makefile @@ -38,11 +38,15 @@ completions: bin/gh$(EXE) bin/gh$(EXE) completion -s fish > ./share/fish/vendor_completions.d/gh.fish bin/gh$(EXE) completion -s zsh > ./share/zsh/site-functions/_gh -# just a convenience task around `go test` +# just convenience tasks around `go test` .PHONY: test test: go test ./... +.PHONY: acceptance +acceptance: + go test -tags acceptance ./acceptance + ## Site-related tasks are exclusively intended for use by the GitHub CLI team and for our release automation. site: From 7066bdb66f8b85c92dc0b0a75c5c587ee0b2101f Mon Sep 17 00:00:00 2001 From: William Martin Date: Tue, 15 Oct 2024 17:33:18 +0100 Subject: [PATCH 2/2] Add comment to acceptance make target Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com> --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 04babcc53..32a06df2f 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ completions: bin/gh$(EXE) test: go test ./... +# For more information, see https://github.com/cli/cli/blob/trunk/acceptance/README.md .PHONY: acceptance acceptance: go test -tags acceptance ./acceptance