mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05: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:
5
Makefile
5
Makefile
@@ -5,6 +5,11 @@ export PATH := $(abspath bin/):${PATH}
|
|||||||
# Dependency versions
|
# Dependency versions
|
||||||
LICENSEI_VERSION = 0.9.0
|
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
|
# build tofu binary in the current directory with the version set to the git tag
|
||||||
# or commit hash if there is no tag.
|
# or commit hash if there is no tag.
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|||||||
Reference in New Issue
Block a user