Skip to content

Commit

Permalink
ci: code coverage for individual packages (#9758)
Browse files Browse the repository at this point in the history
closes: #9778 

## Description
This PR adds seperate compoenents for each of the following packages:
- Swingset/src/kernel
- ertp
- orchestration
- swing-store

This will allow us to fail the CI if any of the individual coverage drops

### Security Considerations


### Scaling Considerations


### Documentation Considerations


### Testing Considerations


### Upgrade Considerations
  • Loading branch information
mergify[bot] authored Jul 25, 2024
2 parents e8c27f8 + 8c4b2de commit 8a8fed3
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion codecov.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
codecov:
require_ci_to_pass: true
comment:
layout: " diff, flags, files"
layout: "flags, components, files"
behavior: default
hide_project_coverage: false
coverage:
Expand All @@ -19,3 +19,37 @@ parsers:
enable_partials: yes
ignore:
- '**/*.json'
component_management:
individual_components:
- component_id: module_swingset_kernel
name: SwingSet/kernel
paths:
- packages/SwingSet/src/kernel/**
statuses:
- type: project
target: auto
threshold: 0.05%
- component_id: module_ertp
name: ERTP
paths:
- packages/ERTP/**
statuses:
- type: project
target: auto
threshold: 0.05%
- component_id: module_orchestration
name: Orchestration
paths:
- packages/orchestration/**
statuses:
- type: project
target: auto
threshold: 0.05%
- component_id: module_swing_store
name: swing-store
paths:
- packages/swing-store/**
statuses:
- type: project
target: auto
threshold: 0.05%

0 comments on commit 8a8fed3

Please sign in to comment.