Skip to content

Commit 1b00455

Browse files
Callisto13MissingRoberto
authored andcommitted
Make task to run just unit tests
Signed-off-by: Roberto Jimenez Sanchez <jszroberto@gmail.com>
1 parent e278deb commit 1b00455

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
concourse-test dracorex-test \
33
go-vet concourse-go-vet go-generate \
44
image push-image \
5-
update-deps
5+
update-deps unit
66

77
all:
88
GOOS=linux go build -o grootfs .
@@ -19,6 +19,7 @@ help:
1919
@echo ' windows ............................. builds grootfs for windows'
2020
@echo ' deps ................................ installs dependencies'
2121
@echo ' update-deps ......................... updates dependencies'
22+
@echo ' unit ................................ run unit tests'
2223
@echo ' concourse-test ...................... runs tests in concourse-lite'
2324
@echo ' dracorex-test ....................... runs tests on remote CI'
2425
@echo ' compile-tests ....................... checks that tests can be compiled'
@@ -38,6 +39,9 @@ deps:
3839
compile-tests:
3940
ginkgo build -r .; find . -name '*.test' | xargs rm
4041

42+
unit:
43+
./hack/run-tests -r -g "--skipPackage=integration"
44+
4145
concourse-test: go-vet
4246
./hack/run-tests -r -g "-p"
4347

0 commit comments

Comments
 (0)