mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
reset
This commit is contained in:
parent
8b8a94ede9
commit
d0fc93cd40
1 changed files with 7 additions and 7 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -20,27 +20,27 @@ jobs:
|
|||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: mvn dependency:resolve
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn clean install
|
||||
|
||||
- name: Run Unit Tests
|
||||
run: mvn test
|
||||
|
||||
- name: Upload Build Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-artifacts
|
||||
path: target/**
|
||||
|
||||
- name: Run Unit Tests and Generate Coverage
|
||||
run: mvn test jacoco:report
|
||||
|
||||
- name: Upload Test Reports
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-reports
|
||||
path: target/surefire-reports/**
|
||||
|
||||
- name: Generate Code Coverage Report
|
||||
run: mvn jacoco:report
|
||||
|
||||
- name: Upload Code Coverage Report
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue