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

@@ -19,34 +19,24 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [heavy]
conan_profile: [gcc, clang]
build_type: [Release, Debug]
container: ['{ "image": "ghcr.io/xrplf/clio-ci:latest" }']
code_coverage: [false]
static: [true]
include:
- os: heavy
conan_profile: gcc
build_type: Release
container: '{ "image": "ghcr.io/xrplf/clio-ci:latest" }'
code_coverage: false
static: true
- os: heavy
conan_profile: gcc
build_type: Debug
container: '{ "image": "ghcr.io/xrplf/clio-ci:latest" }'
code_coverage: true
static: true
- os: heavy
conan_profile: clang
build_type: Release
container: '{ "image": "ghcr.io/xrplf/clio-ci:latest" }'
code_coverage: false
static: true
- os: heavy
conan_profile: clang
build_type: Debug
container: '{ "image": "ghcr.io/xrplf/clio-ci:latest" }'
code_coverage: false
static: true
- os: macos15
conan_profile: default_apple_clang
build_type: Release
container: ""
code_coverage: false
static: false
@@ -60,7 +50,7 @@ jobs:
static: ${{ matrix.static }}
run_unit_tests: true
run_integration_tests: false
clio_server: true
upload_clio_server: true
check_config:
name: Check Config Description