diff --git a/.circleci/config.yml b/.circleci/config.yml index b9aa747df..9bcd6e8d8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -100,7 +100,7 @@ jobs: description: gotestsum format. https://github.com/gotestyourself/gotestsum#format coverage: 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. codecov-upload: type: boolean @@ -190,7 +190,7 @@ jobs: - install-deps - go/mod-download - run: - command: make buildall + command: make build no_output_timeout: 30m - store_artifacts: path: lotus @@ -253,7 +253,8 @@ workflows: jobs: - lint-changes: args: "--new-from-rev origin/master" - - test + - test: + codecov-upload: true - test-short: go-test-flags: "--timeout 10m --short" - mod-tidy-check diff --git a/.codecov.yml b/.codecov.yml index db2472009..cf409a6b6 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1 +1,3 @@ comment: off +ignore: + - "cbor_gen.go"