feat: use codecov flags (#6418)
This commit is contained in:
parent
4966ee56dd
commit
75b0320bbe
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -65,6 +65,7 @@ jobs:
|
|||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
verbose: true
|
verbose: true
|
||||||
|
flags: unit-tests
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -161,6 +162,7 @@ jobs:
|
|||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
verbose: true
|
verbose: true
|
||||||
|
flags: e2e-tests
|
||||||
|
|
||||||
# Included as a single job to check for cypress-test-matrix success, as a matrix cannot be checked.
|
# Included as a single job to check for cypress-test-matrix success, as a matrix cannot be checked.
|
||||||
cypress-tests:
|
cypress-tests:
|
||||||
|
16
codecov.yml
16
codecov.yml
@ -9,13 +9,17 @@ ignore:
|
|||||||
- "**/constants/**/*"
|
- "**/constants/**/*"
|
||||||
- "constants/**/*"
|
- "constants/**/*"
|
||||||
|
|
||||||
coverage:
|
flag_management:
|
||||||
status:
|
default_rules:
|
||||||
project:
|
statuses:
|
||||||
default:
|
- type: project
|
||||||
target: auto
|
target: auto
|
||||||
threshold: 1%
|
threshold: 1%
|
||||||
if_ci_failed: error
|
if_ci_failed: error
|
||||||
patch:
|
- type: patch
|
||||||
default:
|
|
||||||
target: 80%
|
target: 80%
|
||||||
|
individual_flags:
|
||||||
|
- name: e2e-tests
|
||||||
|
statuses:
|
||||||
|
- type: patch
|
||||||
|
target: 0%
|
||||||
|
Loading…
Reference in New Issue
Block a user