From fef58152488528314e0e71a20bc7ba63ab12b6e3 Mon Sep 17 00:00:00 2001 From: Algiane Froehly Date: Tue, 9 Apr 2024 15:33:16 +0200 Subject: [PATCH] Fix code coverage input for workflow dispatch event. --- .github/workflows/long-tests.yml | 2 +- .github/workflows/main-job.yml | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/long-tests.yml b/.github/workflows/long-tests.yml index fd89bf7c8..bcb41eb97 100644 --- a/.github/workflows/long-tests.yml +++ b/.github/workflows/long-tests.yml @@ -32,4 +32,4 @@ jobs: cmake_build_type: RelWithAssert add_cmake_cfg_args: -D LONG_TESTS=ON branch_name: ${{github.event.inputs.branch}} - code_coverage: ${{github.event.inputs.code_coverage}} + code_coverage: ${{ github.event.inputs.code_coverage || true }} diff --git a/.github/workflows/main-job.yml b/.github/workflows/main-job.yml index 52f4b2989..1e7a49221 100644 --- a/.github/workflows/main-job.yml +++ b/.github/workflows/main-job.yml @@ -149,14 +149,6 @@ jobs: steps: - name: Set cmake_build_type and export coverage flags run: | - if ${{ matrix.os == 'ubuntu-20.04'}}; then - echo " os ok" - fi - - if ${{ inputs.code_coverage == true }}; then - echo " cod_cov ok" - fi - if ${{ matrix.os == 'ubuntu-20.04' && inputs.code_coverage == true }}; then # if code coverage is enabled, linux build is runned in Debug mode