diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 50ce53c0b80..d869cd21134 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,24 +44,11 @@ jobs: distribution: 'zulu' java-version: 11 - - name: appleTest + - name: build uses: gradle/gradle-build-action@v2.1.0 - if: matrix.os == 'macos-latest' - with: - arguments: --full-stacktrace appleTest - - - name: Ubuntu build - uses: gradle/gradle-build-action@v2.1.0 - if: matrix.os == 'ubuntu-latest' with: arguments: --full-stacktrace build - - name: mingwX64Test - uses: gradle/gradle-build-action@v2.1.0 - if: matrix.os == 'windows-latest' - with: - arguments: --full-stacktrace mingwX64Test - - id: get-arrow-version name: Get Arrow version run: echo "::set-output name=arrow-version::$(head -n 1 build/semver/version.txt)" diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ecb22c7d5f6..f13cc532280 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -25,24 +25,11 @@ jobs: distribution: 'zulu' java-version: 11 - - name: appleTest + - name: build uses: gradle/gradle-build-action@v2.1.0 - if: matrix.os == 'macos-latest' - with: - arguments: --full-stacktrace appleTest - - - name: Ubuntu build - uses: gradle/gradle-build-action@v2.1.0 - if: matrix.os == 'ubuntu-latest' with: arguments: --full-stacktrace build - - name: mingwX64Test - uses: gradle/gradle-build-action@v2.1.0 - if: matrix.os == 'windows-latest' - with: - arguments: --full-stacktrace mingwX64Test - - name: Upload reports uses: actions/upload-artifact@v2.3.1 with: diff --git a/build.gradle.kts b/build.gradle.kts index 64dee0e0790..f688793a507 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -72,21 +72,3 @@ tasks { apiValidation { ignoredProjects.addAll(listOf("arrow-optics-ksp-plugin", "arrow-optics-test", "arrow-site")) } - - -val appleTest = tasks.create("appleTest") - -subprojects { - afterEvaluate { - val appleTargets = setOf("tvos", "watchos", "ios", "macos") - - extensions.findByType() - ?.sourceSets - ?.filter { appleTargets.any { target -> it.name.contains(target) } && it.name.contains("Test") } - ?.forEach { - tasks.findByName(it.name)?.let { task -> - appleTest.dependsOn(task) - } - } - } -}