ci: run go unit tests from the dagger plan
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -29,8 +29,8 @@ install: # Install a dev dagger binary
|
||||
go install -ldflags '-X go.dagger.io/dagger/version.Revision=$(GIT_REVISION)' ./cmd/dagger
|
||||
|
||||
.PHONY: test
|
||||
test: # Run all tests
|
||||
go test -race -v ./...
|
||||
test: dagger # Run all tests
|
||||
./cmd/dagger/dagger do test
|
||||
|
||||
.PHONY: golint
|
||||
golint: dagger # Go lint
|
||||
@@ -90,4 +90,4 @@ web: # Run the website locally
|
||||
|
||||
.PHONY: todo
|
||||
todo: # Find all TODO items
|
||||
grep -r -A 1 "TODO:" $(CURDIR)
|
||||
grep -r -A 1 "TODO:" $(CURDIR)
|
||||
|
Reference in New Issue
Block a user