Skip to content

[ci] prevent categorical.model and model.txt files being left behind after testing #6581

[ci] prevent categorical.model and model.txt files being left behind after testing

[ci] prevent categorical.model and model.txt files being left behind after testing #6581

Workflow file for this run

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%;*}
trigger_phrase=${i#*;}
python "$GITHUB_WORKSPACE/.ci/get-workflow-status.py" "$trigger_phrase" \
|| { echo "The last reported status from workflow \"$workflow_name\" is failure. Commit fixes and rerun the workflow."; \
exit 1; }
done