Skip to content

Improve CI by not running all the tasks for debug and release on Android #1664

Description

@marandaneto

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions