From 7dcfd88ec60cf7af8757968abac8a4a167c8133c Mon Sep 17 00:00:00 2001 From: Maurelian Date: Wed, 2 Nov 2022 09:39:54 -0400 Subject: [PATCH] ci: Fixes to codecov configuration --- codecov.yml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/codecov.yml b/codecov.yml index e5e77e8d1d31..b676e0f87e12 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,20 +1,30 @@ -comment: true +comment: + layout: "reach, diff, flags, files" + behavior: default + require_changes: true # only post the comment if coverage changes ignore: - "l2geth" - "**/*.t.sol" - "op-bindings/bindings/*.go" - - "packages/contracts-bedrock/contracts/(vendor|libraries)/(trie|rlp)" + - "packages/contracts-bedrock/contracts/vendor/WETH9.sol" +coverage: + status: + patch: + default: + target: auto # target coverage is equal to the PR base + threshold: 0% # coverage is not allowed to reduce vs. the PR base + base: auto flag_management: # Note: flags should have the same name as the circleci job in which they # are uploaded. individual_flags: - - name: bedrock-go-tests - name: contracts-bedrock-tests paths: - packages/contracts-bedrock/contracts statuses: - type: patch target: 100% + - name: bedrock-go-tests - name: common-ts-tests - name: contracts-tests - name: core-utils-tests @@ -27,20 +37,3 @@ flag_management: - name: message-relayer-tests - name: replica-healthcheck-tests - name: sdk-tests -coverage: - status: - patch: - default: - # basic - target: auto - threshold: 0% - base: auto - # advanced - branches: - - master - if_ci_failed: error #success, error - only_pulls: false - flags: - - "unit" - paths: - - "src"