Commit b2c5ad87 authored by Maurelian's avatar Maurelian Committed by GitHub

ci: Fail if new bedrock contract code is not 100% tested (#3817)

* ci: Fail if new bedrock contract code is not 100% tested

* ci: Turn on the codecov bot
parent 7abb5f3c
comment: false comment: true
ignore: ignore:
- "l2geth" - "l2geth"
- "**/*.t.sol" - "**/*.t.sol"
...@@ -10,6 +10,11 @@ flag_management: ...@@ -10,6 +10,11 @@ flag_management:
individual_flags: individual_flags:
- name: bedrock-go-tests - name: bedrock-go-tests
- name: contracts-bedrock-tests - name: contracts-bedrock-tests
paths:
- packages/contracts-bedrock/contracts
statuses:
- type: patch
target: 100%
- name: common-ts-tests - name: common-ts-tests
- name: contracts-tests - name: contracts-tests
- name: core-utils-tests - name: core-utils-tests
...@@ -22,3 +27,20 @@ flag_management: ...@@ -22,3 +27,20 @@ flag_management:
- name: message-relayer-tests - name: message-relayer-tests
- name: replica-healthcheck-tests - name: replica-healthcheck-tests
- name: sdk-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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment