mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 15:40:07 -06:00
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:
parent
20187d859f
commit
34a0e515b9
5
Makefile
5
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user