From cf3fc89c2764c92da8c16b8deffa06b8c1710056 Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Thu, 28 Apr 2022 00:17:32 -0700 Subject: [PATCH] Add test container reuse for github workflows (#4563) --- .github/workflows/maven-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index c3e761d2a1a..f731a559bb9 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -60,6 +60,7 @@ jobs: if: ${{ github.event_name == 'pull_request_target' }} run: | git fetch --no-tags https://github.com/open-metadata/OpenMetadata.git +refs/heads/main:refs/remotes/origin/main + echo 'testcontainers.reuse.enable=true' >> ~/.testcontainers.properties mvn -Dsonar.login=${{ secrets.SONAR_TOKEN }} \ -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} \ -Dsonar.pullrequest.branch=${{ github.head_ref }} \