Configure codecov flags and have them be carried forward

This commit is contained in:
Stefan Ceriu 2022-10-18 13:40:42 +03:00 committed by Stefan Ceriu
parent 9b94180552
commit 45c830202f
3 changed files with 14 additions and 1 deletions

View file

@ -63,3 +63,5 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: unittests

View file

@ -61,4 +61,6 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: uitests

View file

@ -9,4 +9,13 @@ coverage:
patch: false
ignore:
- "Riot/Generated" # ignore the folder and all its contents
- "Riot/Generated" # ignore the folder and all its contents
flag_management:
default_rules:
carryforward: true
statuses:
- name_prefix: project-
type: project
target: auto
threshold: 1%