From a954c1a114fb57feed520fc1009439c6dec3db42 Mon Sep 17 00:00:00 2001 From: Roni Dover Date: Sun, 14 Apr 2024 21:47:59 -0700 Subject: [PATCH] added inst --- .github/workflows/maven-build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 5de223fc6..915d68f0f 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -25,5 +25,13 @@ jobs: java-version: ${{matrix.java}} distribution: 'adopt' cache: maven + - name: Instrument app + uses: digma-ai/digma-java-instrumentation-action@1.0.3 + with: + # Assuming the action expects these inputs: + collector_url: 'http://example.com/collector' + service_name: 'spring-petclinic' + environment: 'PETCLINIC_CI' + - name: Build with Maven Wrapper - run: ./mvnw -B package + run: mvn '-Dtest=org.springframework.samples.petclinic.integration.*Tests' test