Skip to content

Commit

Permalink
Merge pull request #54 from bladehan1/ci-codecov
Browse files Browse the repository at this point in the history
add Codecov
  • Loading branch information
yuekun0707 authored Jun 20, 2023
2 parents 0738455 + b0f84f9 commit 97ef7d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ jobs:
run: make all
- name: "Run tests"
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./cover.out
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ ios:

test: all
# $(GORUN) build/ci.go test
go test github.com/ethereum/go-ethereum/consensus/bor
go test github.com/ethereum/go-ethereum/tests/bor
go test --timeout 5m -cover -short -coverprofile=cover.out -covermode=atomic ./consensus/bor ./tests/bor

lint: ## Run linters.
$(GORUN) build/ci.go lint
Expand Down

0 comments on commit 97ef7d9

Please sign in to comment.