Skip to content

Commit

Permalink
Fix code coverage input for workflow dispatch event.
Browse files Browse the repository at this point in the history
  • Loading branch information
Algiane committed Apr 9, 2024
1 parent 37715a3 commit fef5815
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/long-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
8 changes: 0 additions & 8 deletions .github/workflows/main-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fef5815

Please sign in to comment.