Skip to content

Commit

Permalink
Exempting the file compute affected tests to cause a intentional cove…
Browse files Browse the repository at this point in the history
…rage check status fail
  • Loading branch information
Rd4dev committed Jul 19, 2024
1 parent 61de269 commit 7c32b5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/assets/test_file_exemptions.textproto
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
test_file_exemption {
exempted_file_path: "scripts/src/java/org/oppia/android/scripts/ci/ComputeAffectedTests.kt"
override_min_coverage_percent_required: 90
}
test_file_exemption {
exempted_file_path: "app/src/main/java/org/oppia/android/app/activity/ActivityComponent.kt"
test_file_not_required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import org.oppia.android.scripts.proto.TestFileExemptions
import java.io.File
import java.util.concurrent.TimeUnit

private val MIN_THRESHOLD = 90 // yet to be decided on a value
private val MIN_THRESHOLD = 10 // yet to be decided on a value

/**
* Entry point function for running coverage analysis for a source file.
Expand Down

0 comments on commit 7c32b5e

Please sign in to comment.