We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96115ac commit f68ac73Copy full SHA for f68ac73
2 files changed
.github/workflows/build-common.yml
@@ -59,7 +59,7 @@ jobs:
59
cache-read-only: ${{ inputs.cache-read-only }}
60
61
- name: Build
62
- run: ./gradlew build -x spotlessCheck -x test ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
+ run: ./gradlew build -x spotlessCheck -PskipTests=true ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
63
env:
64
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
65
GITHUB_TOKEN: ${{ github.token }}
build.gradle.kts
@@ -35,3 +35,11 @@ nexusPublishing {
35
}
36
37
description = "OpenTelemetry Contrib libraries and utilities for the JVM"
38
+
39
+if (project.findProperty("skipTests") as String? == "true") {
40
+ subprojects {
41
+ tasks.withType<Test>().configureEach {
42
+ enabled = false
43
+ }
44
45
+}
0 commit comments