Skip to content

Commit

Permalink
update go test
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Mar 2, 2022
1 parent 72e550a commit f7e1eb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
- name: Run Go tests
run: go test -covermode atomic -coverprofile coverage.txt ./...
run: go test -covermode atomic -coverprofile coverage.txt $(go list ./... | grep -v third_party/)
- name: Upload Coverage Report
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
with:
env_vars: OS
- name: Run Go tests w/ `-race`
if: ${{ runner.os == 'Linux' }}
run: go test -race ./...
run: go test -race $(go list ./... | grep -v third_party/)

e2e-tests:
name: Run e2e tests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ lint: golangci-lint ## Run golangci-lint linter
$(GOLANGCI_LINT_BIN) run -n

test:
go test ./...
go test $(shell go list ./... | grep -v third_party/)

clean:
rm -rf cosign
Expand Down

0 comments on commit f7e1eb2

Please sign in to comment.