Skip to content

Commit

Permalink
set gcflags=all=-l
Browse files Browse the repository at this point in the history
  • Loading branch information
samanhappy committed Aug 29, 2024
1 parent 1eba891 commit 364e5eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
- name: Go Get dependencies
run: go get -v -t -d ./...
- name: Go Test
env:
GOMAXPROCS: 1
run: make test TEST_FLAGS="-coverprofile=coverage.txt -covermode=atomic"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.5.0
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ${TARGET}: ${SOURCE}
build: all

test:
go test -gcflags=-l -cover -race ${TEST_FLAGS} -v ./...
go test -gcflags=all=-l -cover -race ${TEST_FLAGS} -v ./...

docker:
sudo DOCKER_BUILDKIT=1 docker build -t megaease/easeprobe -f ${MKFILE_DIR}/resources/Dockerfile ${MKFILE_DIR}
Expand Down

0 comments on commit 364e5eb

Please sign in to comment.