Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Link check job is broken #6756

Closed
StrikerRUS opened this issue Dec 15, 2024 · 1 comment · Fixed by #6757
Closed

[ci] Link check job is broken #6756

StrikerRUS opened this issue Dec 15, 2024 · 1 comment · Fixed by #6757

Comments

@StrikerRUS
Copy link
Collaborator

StrikerRUS commented Dec 15, 2024

https://github.com/microsoft/LightGBM/actions/workflows/linkchecker.yml

Image

Error: Config file .linkcheckerrc does not exist.
Execute '/home/runner/miniforge/envs/test-env/bin/linkchecker -h' for help

https://github.com/microsoft/LightGBM/actions/runs/12328181037/job/34411048698#step:3:3749

Job and config file:

TASK: 'check-links'

LightGBM/.ci/test.sh

Lines 147 to 152 in b33a12e

if [[ $TASK == "check-links" ]]; then
# check docs for broken links
pip install linkchecker
linkchecker --config=.linkcheckerrc ./docs/_build/html/*.html || exit 1
exit 0
fi

[checking]

@jameslamb
Copy link
Collaborator

Oh wow, thank you for finding this! I haven't checked that job in a while.

Suspect that I accidentally broke this somewhere around #6497. I'll put up a PR to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants