Skip to content

Commit

Permalink
Update actions (#498)
Browse files Browse the repository at this point in the history
Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored May 15, 2021
1 parent b94e72d commit 12c45bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/knative-go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
tr '\n' ' ')"
echo "Building with tags: ${tags}"
go test -vet=off -tags "${tags}" -run=^$ ./...
go test -vet=off -tags "${tags}" -exec echo ./...
2 changes: 1 addition & 1 deletion .github/workflows/knative-go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- if: steps.codecov-enabled.outputs.files_exists == 'true'
name: Produce Go Coverage
run: echo "COVER_OPTS=-coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | grep -v /vendor | grep -v /test | grep -v /pkg/client | tr '\n' ',' )" >> $GITHUB_ENV
run: echo 'COVER_OPTS=-coverprofile=coverage.txt -covermode=atomic' >> $GITHUB_ENV

- name: Test
run: go test -race $COVER_OPTS ./...
Expand Down

0 comments on commit 12c45bb

Please sign in to comment.