Try to fix CI quality flow (#2880)

* Fix CI quality step:
    - Remove the `onCheck` property in the different Kover verify variants in case they caused this.
    - Try splitting quality flow per check to avoid OOM issues.
This commit is contained in:
Jorge Martin Espinosa 2024-05-20 12:15:43 +02:00 committed by GitHub
parent bb96eea4bd
commit 29723a691e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 141 additions and 10 deletions

View file

@ -122,7 +122,6 @@ fun Project.setupKover() {
total {
verify {
onCheck = true
// General rule: minimum code coverage.
rule("Global minimum code coverage.") {
groupBy = GroupingEntityType.APPLICATION
@ -140,7 +139,6 @@ fun Project.setupKover() {
}
variant(KoverVariant.Presenters.variantName) {
verify {
onCheck = true
// Rule to ensure that coverage of Presenters is sufficient.
rule("Check code coverage of presenters") {
groupBy = GroupingEntityType.CLASS
@ -171,7 +169,6 @@ fun Project.setupKover() {
}
variant(KoverVariant.States.variantName) {
verify {
onCheck = true
// Rule to ensure that coverage of States is sufficient.
rule("Check code coverage of states") {
groupBy = GroupingEntityType.CLASS
@ -214,7 +211,6 @@ fun Project.setupKover() {
}
variant(KoverVariant.Views.variantName) {
verify {
onCheck = true
// Rule to ensure that coverage of Views is sufficient (deactivated for now).
rule("Check code coverage of views") {
groupBy = GroupingEntityType.CLASS