Skip to content

Commit

Permalink
ci(code-coverage-deploy): only load historical lcov if it exists
Browse files Browse the repository at this point in the history
The code-coverage-deploy workflow was failing, as it was trying to use
historical lcov when it did not exist. This patch makes this step
conditional on whether historical lcov exists or not.

https://github.com/conjure-cp/conjure-oxide/actions/runs/11146109623/job/30977305993
  • Loading branch information
niklasdewally committed Oct 2, 2024
1 parent 54bcb46 commit d63291a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code-coverage-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ jobs:
})
- name: Download the previous lcov.info (historical) file
if: steps.find_artifacts.outputs.result != '[]'
uses: actions/download-artifact@v4
with: |
name: code-coverage-${{ env.num }}-${{ env.previous_artifact_id }}
Expand Down

0 comments on commit d63291a

Please sign in to comment.