This commit is contained in:
Martino Ferrari
2026-04-26 11:01:55 +02:00
parent 91b42027c9
commit e83e183673
17 changed files with 1009 additions and 182 deletions
+9 -1
View File
@@ -1,4 +1,4 @@
.PHONY: all frontend backend backend-epics backend-debug test lint clean run
.PHONY: all frontend backend backend-epics backend-debug test bench race lint clean run
# --------------------------------------------------------------------------- #
# Sources — adding any file here triggers a frontend or backend rebuild #
@@ -62,6 +62,14 @@ backend-debug: $(FRONTEND_OUT)
test:
go test ./...
# Run tests with the race detector enabled.
race:
go test -race ./...
# Run all benchmarks and print memory allocations.
bench:
go test -bench=. -benchmem -benchtime=3s ./internal/...
lint:
go vet ./...