We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 263562e + 14cffdb commit 31c58f1Copy full SHA for 31c58f1
.github/workflows/test.yml
@@ -71,7 +71,10 @@ jobs:
71
-
72
name: Test
73
run: |
74
- go test -coverprofile=/tmp/coverage.txt $(go list ./... | grep -vE '/vendor/|/e2e/|/cmd/docker-trust')
+ # run in go modules mode to prevent traversing to nested modules
75
+ ln -s vendor.mod go.mod
76
+ ln -s vendor.sum go.sum
77
+ go test -coverprofile=/tmp/coverage.txt $(go list ./... | grep -vE '^github.com/docker/cli/e2e/')
78
go tool cover -func=/tmp/coverage.txt
79
working-directory: ${{ env.GOPATH }}/src/github.com/docker/cli
80
shell: bash
0 commit comments