diff --git a/.circleci/config.yml b/.circleci/config.yml index a22de28af..7d468af56 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -173,16 +173,6 @@ jobs: type: string default: standard-verbose description: gotestsum format. https://github.com/gotestyourself/gotestsum#format - coverage: - type: string - default: -coverprofile=coverage.txt -coverpkg=github.com/filecoin-project/lotus/... - description: Coverage flag. Set to the empty string to disable. - codecov-upload: - type: boolean - default: true - description: | - Upload coverage report to https://codecov.io/. Requires the codecov API token to be - set as an environment variable for private projects. executor: << parameters.executor >> steps: - install-deps @@ -205,7 +195,6 @@ jobs: --junitfile /tmp/test-reports/<< parameters.suite >>/junit.xml \ --jsonfile /tmp/test-artifacts/<< parameters.suite >>.json \ -- \ - << parameters.coverage >> \ << parameters.go-test-flags >> \ << parameters.target >> no_output_timeout: 30m @@ -213,13 +202,6 @@ jobs: path: /tmp/test-reports - store_artifacts: path: /tmp/test-artifacts/<< parameters.suite >>.json - - when: - condition: << parameters.codecov-upload >> - steps: - - run: - shell: /bin/bash -eo pipefail - command: | - bash <(curl -s https://codecov.io/bash) test-conformance: description: | @@ -1026,11 +1008,9 @@ workflows: proofs-log-test: "1" - test-conformance: suite: conformance - codecov-upload: false target: "./conformance" - test-conformance: name: test-conformance-bleeding-edge - codecov-upload: false suite: conformance-bleeding-edge target: "./conformance" vectors-branch: specs-actors-v7 diff --git a/.circleci/template.yml b/.circleci/template.yml index 482eb72bf..fb2497a1e 100644 --- a/.circleci/template.yml +++ b/.circleci/template.yml @@ -173,16 +173,6 @@ jobs: type: string default: standard-verbose description: gotestsum format. https://github.com/gotestyourself/gotestsum#format - coverage: - type: string - default: -coverprofile=coverage.txt -coverpkg=github.com/filecoin-project/lotus/... - description: Coverage flag. Set to the empty string to disable. - codecov-upload: - type: boolean - default: true - description: | - Upload coverage report to https://codecov.io/. Requires the codecov API token to be - set as an environment variable for private projects. executor: << parameters.executor >> steps: - install-deps @@ -205,7 +195,6 @@ jobs: --junitfile /tmp/test-reports/<< parameters.suite >>/junit.xml \ --jsonfile /tmp/test-artifacts/<< parameters.suite >>.json \ -- \ - << parameters.coverage >> \ << parameters.go-test-flags >> \ << parameters.target >> no_output_timeout: 30m @@ -213,13 +202,6 @@ jobs: path: /tmp/test-reports - store_artifacts: path: /tmp/test-artifacts/<< parameters.suite >>.json - - when: - condition: << parameters.codecov-upload >> - steps: - - run: - shell: /bin/bash -eo pipefail - command: | - bash <(curl -s https://codecov.io/bash) test-conformance: description: | @@ -786,11 +768,9 @@ workflows: proofs-log-test: "1" - test-conformance: suite: conformance - codecov-upload: false target: "./conformance" - test-conformance: name: test-conformance-bleeding-edge - codecov-upload: false suite: conformance-bleeding-edge target: "./conformance" vectors-branch: specs-actors-v7 diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index c0fa5f262..000000000 --- a/.codecov.yml +++ /dev/null @@ -1,74 +0,0 @@ -ignore: - # Auto generated - - "^.*_gen.go$" - - "^.*/mock_full.go$" - # Old actors. - - "^chain/actors/builtin/[^/]*/(message|state|v)[0-4]\\.go$" # We test the latest version only. - # Tests - - "api/test/**" - - "conformance/**" - # Generators - - "gen/**" - - "chain/actors/agen/**" - # Non-critical utilities - - "api/docgen/**" - - "api/docgen-openrpc/**" -coverage: - status: - patch: off - project: - threshold: 1% - tools-and-tests: - target: auto - threshold: 1% - informational: true - paths: - - "testplans" - - "tools" - - "system" - - "snap" - - "lotuspond" - - "conformance" - - "scripts" - - "gen" - - "build" - markets: - target: auto - threshold: 1% - informational: true - paths: - - "markets" - - "paychmgr" - miner: - target: auto - threshold: 1.5% - informational: true - paths: - - "miner" - - "storage" - chain: - target: auto - threshold: 1% - informational: true - paths: - - "chain" - node: - target: auto - threshold: 1% - informational: true - paths: - - "node" - - "blockstore" - - "metrics" - - "lib" - - "genesis" - - "gateway" - - "api" - - "journal" - cli: - target: auto - threshold: 1% - informational: true - paths: - - "cli" - - "cmd"