mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
feat(cicd): add codecov flags
This commit is contained in:
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@@ -2,7 +2,7 @@ name: Daily Core check
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5 * * *'
|
||||
- cron: '0 4 * * 1,2,3,4,5'
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
||||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -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
|
||||
|
||||
32
codecov.yml
32
codecov.yml
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user