Skip to content

Commit

Permalink
fix gcflags
Browse files Browse the repository at this point in the history
  • Loading branch information
samanhappy committed Aug 12, 2024
1 parent 857e735 commit aa94b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Go Get dependencies
run: go get -v -t -d ./...
- name: Go Test
run: make test TEST_FLAGS="-coverprofile=coverage.txt -covermode=atomic -gcflags=all=-l"
run: make test TEST_FLAGS="-coverprofile=coverage.txt -covermode=atomic"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.5.0
with:
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 aa94b03

Please sign in to comment.