[cpp] fix: to_if_else missing check for threshold when missing_type is not none #7260
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Optional checks | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
all-optional-checks-successful: | |
timeout-minutes: 120 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 5 | |
submodules: false | |
- name: Check that all tests succeeded | |
run: | | |
workflows=( | |
"R valgrind tests;r-valgrind" | |
) | |
for i in "${workflows[@]}"; do | |
workflow_name=${i%;*} | |
comment="The last reported status from workflow \"$workflow_name\" is failure." | |
comment+=" Commit fixes and rerun the workflow." | |
trigger_phrase=${i#*;} | |
python \ | |
"$GITHUB_WORKSPACE/.ci/get-workflow-status.py" \ | |
"$trigger_phrase" \ | |
|| { echo "${comment}"; exit 1; } | |
done |