We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1643c3 commit 426af0aCopy full SHA for 426af0a
Makefile
@@ -4,6 +4,8 @@ APP = path-helper
4
VERSION ?= $(shell cat ./version)
5
# build directory
6
BUILD_DIR ?= build
7
+# end-to-end directory
8
+E2E_DIR ?= test/e2e
9
# build flags
10
BUILD_FLAGS ?= -v -a -ldflags=-s
11
# gopath copy from environment
@@ -28,11 +30,17 @@ clean:
28
30
clean-vendor:
29
31
rm -rf ./vendor > /dev/null
32
-test: test-unit
33
+test: test-unit test-e2e
34
35
test-unit:
36
go test -failfast -race -coverprofile=coverage.txt -covermode=atomic -cover -v pkg/$(APP)/*
37
38
+test-e2e:
39
+ bats --recursive $(E2E_DIR)
40
+
41
+hack-install-bats:
42
+ hack/install-bats.sh
43
44
codecov:
45
mkdir .ci || true
46
curl -s -o .ci/codecov.sh https://codecov.io/bash
0 commit comments