Skip to content

Commit

Permalink
Upload jacoco report to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Nov 16, 2023
1 parent 50c81ad commit 9c35fe5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-and-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,15 @@ jobs:
with:
name: coverage-result
path: "**/target/site/**/jacoco.xml"
- name: "Upload jacoco exec"
uses: actions/upload-artifact@v3
with:
name: exec-result
path: "**/target/**/*.exec"
- name: "Upload ut jacoco report"
uses: actions/upload-artifact@v3
with:
name: jacoco-report
name: ut-jacoco-report
path: "**/target/site/**/*.html"


Expand Down Expand Up @@ -346,6 +351,10 @@ jobs:
with:
name: jacoco-result
path: dubbo-samples/target/
- name: "Restore jacoco exec from ut"
uses: actions/download-artifact@v3
with:
name: exec-result
- name: "Merge jacoco result"
run: |
cd ${{ github.workspace }}/dubbo-samples/test/dubbo-test-jacoco-merger
Expand All @@ -361,7 +370,7 @@ jobs:
- name: "Upload samples jacoco report"
uses: actions/upload-artifact@v3
with:
name: jacoco-report
name: samples-jacoco-report
path: "**/target/site/**/*.html"

error-code-inspecting:
Expand Down

0 comments on commit 9c35fe5

Please sign in to comment.