Merge pull request #1052 from filecoin-project/feat/coverage-integration
Renable codecov, improve CI
This commit is contained in:
commit
0bafc00b52
@ -100,7 +100,7 @@ jobs:
|
|||||||
description: gotestsum format. https://github.com/gotestyourself/gotestsum#format
|
description: gotestsum format. https://github.com/gotestyourself/gotestsum#format
|
||||||
coverage:
|
coverage:
|
||||||
type: string
|
type: string
|
||||||
default: -coverprofile=coverage.txt
|
default: -coverprofile=coverage.txt -coverpkg=github.com/filecoin-project/lotus/...
|
||||||
description: Coverage flag. Set to the empty string to disable.
|
description: Coverage flag. Set to the empty string to disable.
|
||||||
codecov-upload:
|
codecov-upload:
|
||||||
type: boolean
|
type: boolean
|
||||||
@ -190,7 +190,7 @@ jobs:
|
|||||||
- install-deps
|
- install-deps
|
||||||
- go/mod-download
|
- go/mod-download
|
||||||
- run:
|
- run:
|
||||||
command: make buildall
|
command: make build
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: lotus
|
path: lotus
|
||||||
@ -253,7 +253,8 @@ workflows:
|
|||||||
jobs:
|
jobs:
|
||||||
- lint-changes:
|
- lint-changes:
|
||||||
args: "--new-from-rev origin/master"
|
args: "--new-from-rev origin/master"
|
||||||
- test
|
- test:
|
||||||
|
codecov-upload: true
|
||||||
- test-short:
|
- test-short:
|
||||||
go-test-flags: "--timeout 10m --short"
|
go-test-flags: "--timeout 10m --short"
|
||||||
- mod-tidy-check
|
- mod-tidy-check
|
||||||
|
@ -1 +1,3 @@
|
|||||||
comment: off
|
comment: off
|
||||||
|
ignore:
|
||||||
|
- "cbor_gen.go"
|
||||||
|
Loading…
Reference in New Issue
Block a user