feat(cicd): add codecov flags

This commit is contained in:
Ludovic DEHON
2025-02-07 14:27:59 +01:00
parent dc8576afed
commit 3f429ef0a8
3 changed files with 31 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ name: Daily Core check
on:
schedule:
- cron: '0 5 * * *'
- cron: '0 4 * * 1,2,3,4,5'
jobs:
check:

View File

@@ -283,7 +283,7 @@ jobs:
export GOOGLE_APPLICATION_CREDENTIALS=$HOME/.gcp-service-account.json
./gradlew check javadoc --parallel
# report test
# Test results
- name: Test - Publish Test Results
uses: dorny/test-reporter@v1
if: always()
@@ -352,6 +352,7 @@ jobs:
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: backend
- name: Codecov - Upload test results
uses: codecov/test-results-action@v1
@@ -359,6 +360,7 @@ jobs:
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: backend
release:
name: Github Release

View File

@@ -8,6 +8,10 @@ component_management:
name: Core
paths:
- core/**
- component_id: e2e-tests
name: End to End
paths:
- e2e-tests/**
- component_id: jdbc
name: Jdbc
paths:
@@ -28,10 +32,6 @@ component_management:
name: Model
paths:
- model/**
- component_id: platform
name: Platform
paths:
- platform/**
- component_id: processor
name: Processor
paths:
@@ -51,4 +51,26 @@ component_management:
- component_id: storage-local
name: Storage Local
paths:
- storage-local/**
- storage-local/**
- component_id: tests
name: Tests
paths:
- tests/**
- component_id: ui
name: Ui
paths:
- ui/**
- component_id: webserver
name: Webserver
paths:
- webserver/**
flag_management:
default_rules:
carryforward: true
statuses:
- type: project
target: 80%
threshold: 1%
- type: patch
target: 90%