mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Added codecov
This commit is contained in:
parent
7b49cb0bbc
commit
3c051f074c
2 changed files with 6 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -13,3 +13,8 @@ jobs:
|
|||
run: make all
|
||||
- name: "Run tests"
|
||||
run: make test
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
file: ./cover.out
|
||||
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -50,7 +50,7 @@ ios:
|
|||
|
||||
test:
|
||||
# Skip mobile and cmd tests since they are being deprecated
|
||||
go test -v $$(go list ./... | grep -v go-ethereum/cmd/)
|
||||
go test -v $$(go list ./... | grep -v go-ethereum/cmd/) -cover -coverprofile=cover.out
|
||||
|
||||
lint: ## Run linters.
|
||||
$(GORUN) build/ci.go lint
|
||||
|
|
|
|||
Loading…
Reference in a new issue