Merge pull request #9062 from filecoin-project/chore/delete-codecov
ci:testing:remove codecov
This commit is contained in:
commit
40bc05a38e
@ -173,16 +173,6 @@ jobs:
|
|||||||
type: string
|
type: string
|
||||||
default: standard-verbose
|
default: standard-verbose
|
||||||
description: gotestsum format. https://github.com/gotestyourself/gotestsum#format
|
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 >>
|
executor: << parameters.executor >>
|
||||||
steps:
|
steps:
|
||||||
- install-deps
|
- install-deps
|
||||||
@ -205,7 +195,6 @@ jobs:
|
|||||||
--junitfile /tmp/test-reports/<< parameters.suite >>/junit.xml \
|
--junitfile /tmp/test-reports/<< parameters.suite >>/junit.xml \
|
||||||
--jsonfile /tmp/test-artifacts/<< parameters.suite >>.json \
|
--jsonfile /tmp/test-artifacts/<< parameters.suite >>.json \
|
||||||
-- \
|
-- \
|
||||||
<< parameters.coverage >> \
|
|
||||||
<< parameters.go-test-flags >> \
|
<< parameters.go-test-flags >> \
|
||||||
<< parameters.target >>
|
<< parameters.target >>
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
@ -213,13 +202,6 @@ jobs:
|
|||||||
path: /tmp/test-reports
|
path: /tmp/test-reports
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/test-artifacts/<< parameters.suite >>.json
|
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:
|
test-conformance:
|
||||||
description: |
|
description: |
|
||||||
@ -1026,11 +1008,9 @@ workflows:
|
|||||||
proofs-log-test: "1"
|
proofs-log-test: "1"
|
||||||
- test-conformance:
|
- test-conformance:
|
||||||
suite: conformance
|
suite: conformance
|
||||||
codecov-upload: false
|
|
||||||
target: "./conformance"
|
target: "./conformance"
|
||||||
- test-conformance:
|
- test-conformance:
|
||||||
name: test-conformance-bleeding-edge
|
name: test-conformance-bleeding-edge
|
||||||
codecov-upload: false
|
|
||||||
suite: conformance-bleeding-edge
|
suite: conformance-bleeding-edge
|
||||||
target: "./conformance"
|
target: "./conformance"
|
||||||
vectors-branch: specs-actors-v7
|
vectors-branch: specs-actors-v7
|
||||||
|
@ -173,16 +173,6 @@ jobs:
|
|||||||
type: string
|
type: string
|
||||||
default: standard-verbose
|
default: standard-verbose
|
||||||
description: gotestsum format. https://github.com/gotestyourself/gotestsum#format
|
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 >>
|
executor: << parameters.executor >>
|
||||||
steps:
|
steps:
|
||||||
- install-deps
|
- install-deps
|
||||||
@ -205,7 +195,6 @@ jobs:
|
|||||||
--junitfile /tmp/test-reports/<< parameters.suite >>/junit.xml \
|
--junitfile /tmp/test-reports/<< parameters.suite >>/junit.xml \
|
||||||
--jsonfile /tmp/test-artifacts/<< parameters.suite >>.json \
|
--jsonfile /tmp/test-artifacts/<< parameters.suite >>.json \
|
||||||
-- \
|
-- \
|
||||||
<< parameters.coverage >> \
|
|
||||||
<< parameters.go-test-flags >> \
|
<< parameters.go-test-flags >> \
|
||||||
<< parameters.target >>
|
<< parameters.target >>
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
@ -213,13 +202,6 @@ jobs:
|
|||||||
path: /tmp/test-reports
|
path: /tmp/test-reports
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/test-artifacts/<< parameters.suite >>.json
|
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:
|
test-conformance:
|
||||||
description: |
|
description: |
|
||||||
@ -786,11 +768,9 @@ workflows:
|
|||||||
proofs-log-test: "1"
|
proofs-log-test: "1"
|
||||||
- test-conformance:
|
- test-conformance:
|
||||||
suite: conformance
|
suite: conformance
|
||||||
codecov-upload: false
|
|
||||||
target: "./conformance"
|
target: "./conformance"
|
||||||
- test-conformance:
|
- test-conformance:
|
||||||
name: test-conformance-bleeding-edge
|
name: test-conformance-bleeding-edge
|
||||||
codecov-upload: false
|
|
||||||
suite: conformance-bleeding-edge
|
suite: conformance-bleeding-edge
|
||||||
target: "./conformance"
|
target: "./conformance"
|
||||||
vectors-branch: specs-actors-v7
|
vectors-branch: specs-actors-v7
|
||||||
|
74
.codecov.yml
74
.codecov.yml
@ -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"
|
|
Loading…
Reference in New Issue
Block a user