Skip to content

Commit

Permalink
Upload entire coverage directory
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoMDomingues committed Sep 25, 2024
1 parent 1b71563 commit 96d080b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pr-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,13 @@ jobs:
name: test-results-${{ matrix.os }}-${{ matrix.build.type }}
retention-days: 14
path: ${{ matrix.os }}/smb/test-results*.xml
- name: Find coverage
if: matrix.build.type =='LCov' && success() # This step runs regardless of the previous step results
run: find / -type d -iname coverage
- name: Upload Code Coverage
uses: actions/upload-artifact@v3
if: matrix.build.type =='LCov' && success() # This step runs regardless of the previous step results
with:
name: code-coverage-${{ matrix.os }}-${{ matrix.build.type }}
retention-days: 14
path: ${{ matrix.os }}/smb/coverage/index.html
path: ${{ matrix.os }}/smb/coverage/
- name: Annotate test results
uses: mikepenz/action-junit-report@v3
if: success() || failure() # run this step even if previous step failed
Expand Down

0 comments on commit 96d080b

Please sign in to comment.