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.
2 parents 8b9f496 + ef4a5bd commit 452fb82Copy full SHA for 452fb82
.github/workflows/main.yml
@@ -28,6 +28,12 @@ jobs:
28
make lint
29
env:
30
GO111MODULE: off
31
+ - name: Test Coverage (pkg)
32
+ run: go test ./... -coverprofile=coverage.txt
33
+ - name: Upload coverage
34
+ uses: codecov/codecov-action@v2
35
+ with:
36
+ files: coverage.txt
37
- name: Run GoReleaser
38
if: contains(github.ref, 'tags/v')
39
uses: goreleaser/goreleaser-action@v2
Makefile
@@ -20,8 +20,14 @@ vet:
20
cd cmd && go vet ./...
21
22
.PHONY: test
23
-test:
+test: test/pkg test/cli
24
+
25
+.PHONY: test/pkg
26
+test/pkg:
27
go test ./...
+.PHONY: test/cli
+test/cli:
cd cmd && go test ./...
.PHONY: man
0 commit comments