"python-package/vscode:/vscode.git/clone" did not exist on "6fa4673f69fa377477e74f986e216c5c186b5b1f"
Unverified Commit 1531d879 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] fix valgrind workflow (#6816)


Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
parent 188f1be7
...@@ -16,6 +16,7 @@ jobs: ...@@ -16,6 +16,7 @@ jobs:
fetch-depth: 5 fetch-depth: 5
submodules: false submodules: false
- name: Check that all tests succeeded - name: Check that all tests succeeded
shell: bash
run: | run: |
workflows=( workflows=(
"R valgrind tests;r-valgrind" "R valgrind tests;r-valgrind"
...@@ -23,7 +24,7 @@ jobs: ...@@ -23,7 +24,7 @@ jobs:
for i in "${workflows[@]}"; do for i in "${workflows[@]}"; do
workflow_name=${i%;*} workflow_name=${i%;*}
comment="The last reported status from workflow \"$workflow_name\" is failure." comment="The last reported status from workflow \"$workflow_name\" is failure."
comment+=" Commit fixes and rerun the workflow." comment="${comment} Commit fixes and rerun the workflow."
trigger_phrase=${i#*;} trigger_phrase=${i#*;}
python \ python \
"$GITHUB_WORKSPACE/.ci/get-workflow-status.py" \ "$GITHUB_WORKSPACE/.ci/get-workflow-status.py" \
......
...@@ -32,13 +32,14 @@ jobs: ...@@ -32,13 +32,14 @@ jobs:
ref: "refs/pull/${{ github.event.client_payload.pr_number }}/merge" ref: "refs/pull/${{ github.event.client_payload.pr_number }}/merge"
- name: Send init status - name: Send init status
if: ${{ always() }} if: ${{ always() }}
shell: bash
run: | run: |
$GITHUB_WORKSPACE/.ci/set-commit-status.sh \ $GITHUB_WORKSPACE/.ci/set-commit-status.sh \
"${{ github.workflow }}" \ "${{ github.workflow }}" \
"pending" \ "pending" \
"${{ github.event.client_payload.pr_sha }}" "${{ github.event.client_payload.pr_sha }}"
comment="Workflow **${{ github.workflow }}** has been triggered! 🚀\r\n" comment="Workflow **${{ github.workflow }}** has been triggered! 🚀\r\n"
comment+="${GITHUB_SERVER_URL}/microsoft/LightGBM/actions/runs/${GITHUB_RUN_ID}" comment="${comment}${GITHUB_SERVER_URL}/microsoft/LightGBM/actions/runs/${GITHUB_RUN_ID}"
$GITHUB_WORKSPACE/.ci/append-comment.sh \ $GITHUB_WORKSPACE/.ci/append-comment.sh \
"${{ github.event.client_payload.comment_number }}" \ "${{ github.event.client_payload.comment_number }}" \
"${comment}" "${comment}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment