Execute AI tests only when GitHub is running coverage
This commit is contained in:
parent
8321c2ea48
commit
0405c69d98
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ import org.junit.jupiter.api.extension.ExtensionContext
|
|||
*/
|
||||
class DisableOnCiCondition : ExecutionCondition {
|
||||
override fun evaluateExecutionCondition(context: ExtensionContext): ConditionEvaluationResult {
|
||||
return if (System.getenv("CI") != null) {
|
||||
return if (System.getenv("CI") != null && System.getenv("COVERAGE_SDK") == null) {
|
||||
ConditionEvaluationResult.disabled("Test disabled on CI")
|
||||
} else {
|
||||
ConditionEvaluationResult.enabled("Test enabled")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue