From 59320226bef832a0e82a9febea5eb76761634c50 Mon Sep 17 00:00:00 2001 From: Eros Candelaresi Date: Thu, 15 Jul 2021 15:52:13 +0200 Subject: [PATCH] Run Maven tests on Petclinic build --- .github/workflows/petclinic.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/petclinic.yaml b/.github/workflows/petclinic.yaml index c4b5f4815..d5e8f11b2 100644 --- a/.github/workflows/petclinic.yaml +++ b/.github/workflows/petclinic.yaml @@ -27,8 +27,15 @@ jobs: runs-on: ubuntu-latest needs: [ Build-Petclinic ] steps: + - name: Cache local Maven repository + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - uses: actions/download-artifact@v2 with: name: petclinic-build path: target/ - - run: find \ No newline at end of file + - run: mvn test