Skip to content

[ci] [R-package] speed up valgrind job - #6237

Merged
jameslamb merged 5 commits into
masterfrom
ci/run-valgrind
Dec 22, 2023
Merged

jameslamb merged 5 commits into
masterfrom
ci/run-valgrind

Conversation

@jameslamb

@jameslamb jameslamb commented Dec 14, 2023 •

Copy link
Copy Markdown
Member

Proposes removing R-vignette-building from the valgrind CI job.

That job just installs the package and runs the unit tests:

https://github.com/microsoft/LightGBM/blob/2dfb9a40478b965db8325baa21a63d9281f96b7c/.ci/test_r_package_valgrind.sh#L14-L19

So the vignettes are totally unnecessary. Removing them removes the following sources of unnecessary work and therefore build time:

  • the need to install {knitr} and its many recursive dependencies
  • the extra compilation of lib_lightgbm done for vignette-building

@jameslamb

jameslamb commented Dec 14, 2023 •

Copy link
Copy Markdown
Member Author

/gha run r-valgrind

Workflow R valgrind tests has been triggered! πŸš€
https://github.com/microsoft/LightGBM/actions/runs/7204236057

Status: failure ❌.

@jameslamb

jameslamb commented Dec 14, 2023 •

Copy link
Copy Markdown
Member Author

/gha run r-valgrind

Workflow R valgrind tests has been triggered! πŸš€
https://github.com/microsoft/LightGBM/actions/runs/7204258936

Status: failure ❌.

@jameslamb

jameslamb commented Dec 14, 2023 •

Copy link
Copy Markdown
Member Author

/gha run r-valgrind

Workflow R valgrind tests has been triggered! πŸš€
https://github.com/microsoft/LightGBM/actions/runs/7204287590

Status: failure ❌.

@jameslamb

jameslamb commented Dec 22, 2023 •

Copy link
Copy Markdown
Member Author

/gha run r-valgrind

Workflow R valgrind tests has been triggered! πŸš€
https://github.com/microsoft/LightGBM/actions/runs/7296681094

Status: success βœ”οΈ.

@jameslamb jameslamb changed the title WIP: [ci] [R-package] speed up valgrind job [ci] [R-package] speed up valgrind job Dec 22, 2023
@jameslamb
jameslamb marked this pull request as ready for review December 22, 2023 05:45
@jameslamb
jameslamb merged commit 051eb22 into master Dec 22, 2023
@jameslamb
jameslamb deleted the ci/run-valgrind branch December 22, 2023 20:29
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants