From 1257453c327ecd2e521aa07e21a850a4455c6e89 Mon Sep 17 00:00:00 2001 From: Lica200 <134512122+Lica200@users.noreply.github.com> Date: Wed, 29 May 2024 10:56:22 +0200 Subject: [PATCH] DC: add codecov.yml (#157) * DC: added components and ignore * DC: moved codecov.yml * DC: changed target --- codecov.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..d81c239 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,25 @@ +coverage: + status: + project: + default: + target: auto #patches sollen coverage beibehalten oder verbessern + threshold: 5% + +component_management: + default_rules: # default rules that will be inherited by all components + statuses: + - type: project # in this case every component that doens't have a status defined will have a project type one + target: auto + individual_components: + - component_id: event + name: event # this is a display name, and can be changed freely + paths: + - backend/src/main/java/com/dhbw/get2gether/backend/event + - component_id: api-smiles # this is an identifier that should not be changed + name: smiles # this is a display name, and can be changed freely + paths: + - backend/src/main/java/com/dhbw/get2gether/backend/widget + +ignore: + - "backend/src/main/java/com/dhbw/get2gether/backend/user" + - "backend/src/main/java/com/dhbw/get2gether/backend/authentication" \ No newline at end of file