File tree Expand file tree Collapse file tree 4 files changed +7
-42
lines changed
runtime-attach/runtime-attach Expand file tree Collapse file tree 4 files changed +7
-42
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ jobs:
111111
112112 - name : Test
113113 run : >
114- ./gradlew test
114+ ./gradlew check -x spotlessCheck
115115 "-PtestJavaVersion=${{ matrix.test-java-version }}"
116116 "-Porg.gradle.java.installations.paths=${{ steps.setup-java-test.outputs.path }}"
117117 "-Porg.gradle.java.installations.auto-download=false"
@@ -122,36 +122,6 @@ jobs:
122122 if : ${{ !cancelled() && hashFiles('build-scan.txt') != '' }}
123123 run : cat build-scan.txt
124124
125- integration-test :
126- runs-on : ubuntu-latest
127- steps :
128- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
129-
130- - name : Set up JDK for running Gradle
131- uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
132- with :
133- distribution : temurin
134- java-version : 17
135-
136- - name : Set up Gradle
137- uses : gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
138- with :
139- cache-read-only : ${{ inputs.cache-read-only }}
140-
141- - name : Integration test
142- run : ./gradlew integrationTest "-PmaxTestRetries=${{ inputs.max-test-retries }}" ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
143-
144- - name : Build scan
145- if : ${{ !cancelled() && hashFiles('build-scan.txt') != '' }}
146- run : cat build-scan.txt
147-
148- - name : Save integration test results
149- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
150- if : always()
151- with :
152- name : integration-test-results
153- path : jmx-metrics/build/reports/tests/integrationTest
154-
155125 markdown-lint-check :
156126 uses : ./.github/workflows/reusable-markdown-lint.yml
157127
Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ To run the tests:
3131./gradlew test
3232```
3333
34- Some modules include integration tests that can be run with:
35-
36- ``` bash
37- ./gradlew integrationTest
38- ```
39-
4034## Snapshot Builds
4135
4236Snapshot builds of the ` main ` branch are available from the Sonatype snapshot repository at:
Original file line number Diff line number Diff line change @@ -173,6 +173,12 @@ testing {
173173 }
174174}
175175
176+ tasks {
177+ check {
178+ dependsOn(testing.suites)
179+ }
180+ }
181+
176182fun isJavaVersionAllowed (version : JavaVersion ): Boolean {
177183 if (otelJava.minJavaVersionSupported.get() > version) {
178184 return false
Original file line number Diff line number Diff line change @@ -59,9 +59,4 @@ tasks {
5959 excludeTestsMatching(" AgentDisabledBySystemPropertyTest" )
6060 }
6161 }
62-
63- check {
64- dependsOn(testAgentDisabledByEnvironmentVariable)
65- dependsOn(testAgentDisabledBySystemProperty)
66- }
6762}
You can’t perform that action at this time.
0 commit comments