File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 51
51
run : make test
52
52
53
53
- name : Run coverage
54
- run : go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /vendor/ | grep -v /api/)
54
+ run : go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /vendor/ | grep -v /api/ | grep -v /cmd/ )
55
55
56
56
- name : Upload Coverage report to CodeCov
57
57
uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ SHELL := /bin/bash
2
2
3
3
PROJECT_NAME := "github.com/zhufuyi/sponge"
4
4
PKG := "$(PROJECT_NAME ) "
5
- PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v /api/)
5
+ PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v /api/ | grep -v /cmd/ )
6
6
7
7
# delete the templates code start
8
8
.PHONY : install
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ SHELL := /bin/bash
2
2
3
3
PROJECT_NAME := "github.com/zhufuyi/sponge"
4
4
PKG := "$(PROJECT_NAME)"
5
- PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v /api/)
5
+ PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v /api/ | grep -v /cmd/ )
6
6
7
7
8
8
You can’t perform that action at this time.
0 commit comments