Skip to content

Commit

Permalink
Merge branch 'tomas/ci-fix-cov' (#3717)
Browse files Browse the repository at this point in the history
* tomas/ci-fix-cov:
  ci: fix coverage files paths
  • Loading branch information
tzemanovic committed Aug 28, 2024
2 parents be74d20 + a0b8946 commit f26c492
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ jobs:
- name: Store coverage file artifact
uses: actions/upload-artifact@v4
with:
name: unit-cov-${{ github.event.pull_request.head.sha || github.sha }}.info
name: unit-cov-${{ github.event.pull_request.head.sha || github.sha }}
path: lcov.info # output of `make test-unit-with-coverage`
- name: Clean cargo cache
if: steps.cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -394,7 +394,7 @@ jobs:
- name: Store coverage file artifact
uses: actions/upload-artifact@v4
with:
name: integration-cov-${{ github.event.pull_request.head.sha || github.sha }}.info
name: integration-cov-${{ github.event.pull_request.head.sha || github.sha }}
path: lcov.info # output of `make test-integration-with-coverage`
- name: Clean cargo cache
if: steps.cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -623,16 +623,16 @@ jobs:
- name: Download unit coverage artifacts
uses: actions/download-artifact@v4
with:
name: unit-cov-${{ github.event.pull_request.head.sha || github.sha }}.info
path: unit-cov.info
name: unit-cov-${{ github.event.pull_request.head.sha || github.sha }}
path: unit-cov
- name: Download integration coverage artifacts
uses: actions/download-artifact@v4
with:
name: integration-cov-${{ github.event.pull_request.head.sha || github.sha }}.info
path: integration-cov.info
name: integration-cov-${{ github.event.pull_request.head.sha || github.sha }}
path: integration-cov
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
with:
files: integration-cov.info, unit-cov.info
files: integration-cov/lcov.info, unit-cov/lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit f26c492

Please sign in to comment.