Skip to content

Commit c585bf8

Browse files
author
ADOT Patch workflow
committed
test
1 parent 202551e commit c585bf8

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/actions/patch-dependencies/action.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,8 @@ runs:
106106
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
107107
if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests != 'false' }}
108108
with:
109-
arguments: check -x spotlessCheck -Dcheckstyle.skip=true publishToMavenLocal --scan --no-daemon --continue
109+
arguments: check -x spotlessCheck -Dcheckstyle.skip=true publishToMavenLocal --scan --no-daemon --fail-fast -q
110110
build-root-directory: opentelemetry-java-instrumentation
111-
112-
- name: Show test failures
113-
if: ${{ failure() && env.patch_otel_java_instrumentation == 'true' }}
114-
shell: bash
115-
run: |
116-
echo "=== TEST FAILURE DETAILS ==="
117-
cd opentelemetry-java-instrumentation || exit 1
118-
find . -name "TEST-*.xml" -path "*/test-results/*" | head -10 | xargs -I {} sh -c 'echo "=== {} ===" && grep -A 10 -B 5 "<failure\|<error" "{}"' || echo "No test XML files found"
119-
echo "=== FAILED TEST SUMMARY ==="
120-
find . -name "*.html" -path "*/reports/tests/*" | head -5 | xargs -I {} dirname {} | xargs -I {} find {} -name "*.html" | head -10 || echo "No test reports found"
121111

122112
- name: Build opentelemetry java instrumentation
123113
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2

0 commit comments

Comments
 (0)