Skip to content

Commit

Permalink
ci: add Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
bladehan1 committed Jun 19, 2023
1 parent 0738455 commit b0f84f9
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 b0f84f9

Please sign in to comment.