2023-03-27 19:48:02 +03:00
|
|
|
ignore:
|
|
|
|
- "**/generated/**/*"
|
|
|
|
- "**/generated/*"
|
|
|
|
- "**/cypress/**/*"
|
|
|
|
- "cypress/**/*"
|
|
|
|
- "**/instrumented/**/*"
|
|
|
|
- "**/styles/**/*"
|
|
|
|
- "styles/**/*"
|
|
|
|
- "**/constants/**/*"
|
|
|
|
- "constants/**/*"
|
|
|
|
|
2023-06-09 21:00:27 +03:00
|
|
|
coverage:
|
|
|
|
status:
|
|
|
|
# Omit merging unit/e2e reports into the defaults, as it is nonsensical.
|
|
|
|
project: off
|
|
|
|
patch: off
|
|
|
|
|
2023-04-24 22:44:41 +03:00
|
|
|
flag_management:
|
|
|
|
default_rules:
|
|
|
|
statuses:
|
|
|
|
- type: project
|
2023-03-27 19:48:02 +03:00
|
|
|
target: auto
|
2023-03-29 18:31:27 +03:00
|
|
|
threshold: 1%
|
2023-06-09 21:00:27 +03:00
|
|
|
# Adjust the base when removing code to avoid penalizing tech debt payback / dead code removal.
|
|
|
|
removed_code_behavior: adjust_base
|
2023-03-27 19:48:02 +03:00
|
|
|
if_ci_failed: error
|
2023-04-24 22:44:41 +03:00
|
|
|
- type: patch
|
|
|
|
target: 80%
|
|
|
|
individual_flags:
|
2023-06-09 21:00:27 +03:00
|
|
|
- name: unit-tests
|
2023-04-24 22:44:41 +03:00
|
|
|
- name: e2e-tests
|
2023-06-09 21:00:27 +03:00
|
|
|
# Wait until all machines have reported coverage - e2e tests run across 4 machines.
|
|
|
|
after_n_builds: 4
|
2023-04-24 22:44:41 +03:00
|
|
|
statuses:
|
|
|
|
- type: patch
|
|
|
|
target: 0%
|
2023-06-09 21:00:27 +03:00
|
|
|
|
|
|
|
comment:
|
|
|
|
layout: flags
|
|
|
|
# Wait until all machines have reported coverage - e2e tests run across 4 machines + unit tests across 1.
|
|
|
|
after_n_builds: 5
|
|
|
|
hide_comment_details: false
|
|
|
|
|
|
|
|
github_checks:
|
|
|
|
# Turn off GitHub Check annotations, as they make it more difficult to review code.
|
|
|
|
annotations: false
|