mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Run Maven tests on Petclinic build
This commit is contained in:
parent
1e537e364d
commit
59320226be
1 changed files with 8 additions and 1 deletions
9
.github/workflows/petclinic.yaml
vendored
9
.github/workflows/petclinic.yaml
vendored
|
@ -27,8 +27,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ Build-Petclinic ]
|
needs: [ Build-Petclinic ]
|
||||||
steps:
|
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
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: petclinic-build
|
name: petclinic-build
|
||||||
path: target/
|
path: target/
|
||||||
- run: find
|
- run: mvn test
|
||||||
|
|
Loading…
Reference in a new issue