Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .ci/scripts/build-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ mkdir -p $(pwd)/outputs

go get -v -u gotest.tools/gotestsum

make -C cli install test
make -C e2e unit-test
make unit-test
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Get current directory of a Makefile: https://stackoverflow.com/a/23324703

include ./commons.mk

# Builds cli for all supported platforms
.PHONY: build
build:
Expand Down Expand Up @@ -33,3 +35,11 @@ notice:
-noticeTemplate ./notice/NOTICE.txt.tmpl \
-noticeOut NOTICE.txt \
-depsOut ""

.PHONY: unit-test
unit-test: test-report-setup unit-test-dir-cli unit-test-dir-internal unit-test-dir-e2e

# See https://pkg.go.dev/gotest.tools/gotestsum/#readme-junit-xml-output
.PHONY: unit-test-suite-%
unit-test-dir-%:
cd $* && gotestsum --junitfile "$(PWD)/outputs/TEST-unit-$*.xml" --format testname -- -count=1 -timeout=$(TEST_TIMEOUT) ./...
187 changes: 0 additions & 187 deletions cli/internal/git.go

This file was deleted.

102 changes: 0 additions & 102 deletions cli/internal/git_test.go

This file was deleted.

Loading