https://github.com/getsentry/sentry-java/blob/main/.github/workflows/build.yml#L43-L45
gradlew build runs check which runs tests for debug and release variants on Android, either we filter the debug tests via gradle configuration, or make the gradle call for specific testing flavors like testReleaseUnitTest
something like:
testOptions {
unitTests.apply {
all {
if (it.name.endsWith("DebugUnitTest")) {
// println(it.name) do not run tests
}
}
}
}
we just need to find out how to filter tests to be run on the debug variant
https://github.com/getsentry/sentry-java/blob/main/.github/workflows/build.yml#L43-L45
gradlew buildrunscheckwhich runs tests for debug and release variants on Android, either we filter the debug tests via gradle configuration, or make the gradle call for specific testing flavors liketestReleaseUnitTestsomething like:
we just need to find out how to filter tests to be run on the debug variant