Add a test target in Makefile to run tests across all packages (#2016)

Signed-off-by: Ioannis Polyzos <git@ipolyzos.com>
This commit is contained in:
Ioannis Polyzos 2024-09-26 16:14:22 +03:00 committed by GitHub
parent 20187d859f
commit 34a0e515b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,11 @@ export PATH := $(abspath bin/):${PATH}
# Dependency versions
LICENSEI_VERSION = 0.9.0
# run the unit tests across all packages in the tofu project
.PHONY: test
test:
go test -v ./...
# build tofu binary in the current directory with the version set to the git tag
# or commit hash if there is no tag.
.PHONY: build