Skip to content

Commit

Permalink
disable cgo for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
  • Loading branch information
jdolitsky committed Dec 26, 2018
1 parent 0155202 commit cdaf728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -8,7 +8,7 @@ update-deps:
.PHONY: test
test:
rm -rf .test/ && mkdir .test/
go test -v -covermode=atomic -coverprofile=coverage.out github.com/shizhMSFT/oras/pkg/oras
CGO_ENABLED=0 go test -v -covermode=atomic -coverprofile=coverage.out github.com/shizhMSFT/oras/pkg/oras
go tool cover -html=coverage.out -o=coverage.html

.PHONY: covhtml
Expand Down

0 comments on commit cdaf728

Please sign in to comment.