ci: Refactor how we run code coverage (#2065)

Fix: https://github.com/XRPLF/clio/issues/2061
This commit is contained in:
Ayaz Salikhov
2025-05-01 16:44:37 +01:00
committed by GitHub
parent b2a1b34ae6
commit 7fd51d8a60
8 changed files with 62 additions and 40 deletions

View File

@@ -52,8 +52,8 @@ on:
type: boolean
default: false
clio_server:
description: Whether to build clio_server
upload_clio_server:
description: Whether to upload clio_server
required: true
type: boolean
@@ -80,13 +80,13 @@ jobs:
disable_cache: ${{ inputs.disable_cache }}
code_coverage: ${{ inputs.code_coverage }}
static: ${{ inputs.static }}
clio_server: ${{ inputs.clio_server }}
upload_clio_server: ${{ inputs.upload_clio_server }}
targets: ${{ inputs.targets }}
sanitizer: ${{ inputs.sanitizer }}
test:
needs: build
# TODO: We don't upload tests if code coverage is enabled
# We don't upload tests if code coverage is enabled
if: ${{ !inputs.code_coverage }}
uses: ./.github/workflows/test_impl.yml
with: