From 227a13556b32caf890e132fc3cb59efad710f821 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 9 Dec 2024 10:52:08 +0100 Subject: [PATCH] Add build rule for running integration tests (#1965) ## Changes Make it possible to change what/how we run our integration tests from within this repository. ## Tests Integration tests all pass when run with this command. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13787fdda..bc1c42cfa 100644 --- a/Makefile +++ b/Makefile @@ -36,5 +36,7 @@ vendor: @echo "✓ Filling vendor folder with library code ..." @go mod vendor -.PHONY: build vendor coverage test lint fmt +integration: + gotestsum --format github-actions --rerun-fails --jsonfile output.json --packages "./internal/..." -- -run "TestAcc.*" -parallel 4 -timeout=2h +.PHONY: fmt lint lintfix test testonly coverage build snapshot vendor integration