summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-04-14 13:45:14 -0600
committermo khan <mo@mokhan.ca>2025-04-14 13:45:14 -0600
commite735969caf8ad4714e8d22f0da70df6c6b350a06 (patch)
treed8ba4ba03a86df24e95580653c4db5d531fd13dc /Makefile
parent9114ec7755fad2653d6093acd3839ec2dbe489a0 (diff)
test: add an integration test and run in CI
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fbb7183..fb84df7 100644
--- a/Makefile
+++ b/Makefile
@@ -15,10 +15,15 @@ setup:
build: sparkled
-test:
+test-unit:
@go clean -testcache
@go test -shuffle=on ./...
+test-integration: build-image
+ @go test -tags=integration ./test/integration/...
+
+test: test-unit test-integration
+
build-image:
@docker build --tag $(IMAGE_TAG) .