Add test container reuse for github workflows (#4563)

This commit is contained in:
Sriharsha Chintalapani 2022-04-28 00:17:32 -07:00 committed by GitHub
parent c6e8181fa9
commit cf3fc89c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }} \