Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
1531d879
Unverified
Commit
1531d879
authored
Feb 09, 2025
by
James Lamb
Committed by
GitHub
Feb 09, 2025
Browse files
[ci] fix valgrind workflow (#6816)
Co-authored-by:
Nikita Titov
<
nekit94-08@mail.ru
>
parent
188f1be7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.github/workflows/optional_checks.yml
.github/workflows/optional_checks.yml
+2
-1
.github/workflows/r_valgrind.yml
.github/workflows/r_valgrind.yml
+2
-1
No files found.
.github/workflows/optional_checks.yml
View file @
1531d879
...
...
@@ -16,6 +16,7 @@ jobs:
fetch-depth
:
5
submodules
:
false
-
name
:
Check that all tests succeeded
shell
:
bash
run
:
|
workflows=(
"R valgrind tests;r-valgrind"
...
...
@@ -23,7 +24,7 @@ jobs:
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."
comment="
${comment}
Commit fixes and rerun the workflow."
trigger_phrase=${i#*;}
python \
"$GITHUB_WORKSPACE/.ci/get-workflow-status.py" \
...
...
.github/workflows/r_valgrind.yml
View file @
1531d879
...
...
@@ -32,13 +32,14 @@ jobs:
ref
:
"
refs/pull/${{
github.event.client_payload.pr_number
}}/merge"
-
name
:
Send init status
if
:
${{ always() }}
shell
:
bash
run
:
|
$GITHUB_WORKSPACE/.ci/set-commit-status.sh \
"${{ github.workflow }}" \
"pending" \
"${{ github.event.client_payload.pr_sha }}"
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.event.client_payload.comment_number }}" \
"${comment}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment