File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 2929 cache : true
3030 check-latest : true
3131
32- - name : install
33- run : |
34- go get github.com/mattn/goveralls
35-
3632 - name : test
3733 run : |
38- go test -race -covermode=atomic -coverprofile=coverage.out ./...
34+ make test
3935
4036 - name : coverage
4137 uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
Original file line number Diff line number Diff line change 5555test :
5656 @echo
5757 @echo " ### Testing Go Code"
58- @go test -race ./...
58+ @go test -race -covermode=atomic -coverprofile=coverage.out ./...
5959
6060# The `test-cover` target is intended to run
6161# the tests for the Go source code and then
6262# open the test coverage report.
6363#
6464# Usage: `make test-cover`
6565.PHONY : test-cover
66- test-cover :
67- @echo
68- @echo " ### Creating test coverage report"
69- @go test -race -covermode=atomic -coverprofile=coverage.out ./...
66+ test-cover : test
7067 @echo
7168 @echo " ### Opening test coverage report"
7269 @go tool cover -html=coverage.out
You can’t perform that action at this time.
0 commit comments