-
Notifications
You must be signed in to change notification settings - Fork 6k
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] Run doc notebooks in CI #24816
Merged
Merged
[CI] Run doc notebooks in CI #24816
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
66b88a2
Run doc notebooks
Yard1 1e80492
Dummy change
Yard1 7c02dba
Detect ipynb changes
Yard1 7de25bd
Update BUILD
Yard1 4e0d5f8
Update python.bzl
Yard1 aaf35cc
Update python.bzl
Yard1 0a49497
Update python.bzl
Yard1 621d4e6
Update BUILD
Yard1 31e5aed
Revert "Dummy change"
Yard1 75646f9
WIP
Yard1 4e6f827
Update python.bzl
Yard1 9443223
Update BUILD
Yard1 b3e577f
Update test_myst_doc.py
Yard1 75b88a0
Update test_myst_doc.py
Yard1 97eea98
Update python.bzl
Yard1 bb4a5b9
Add GPU tests
Yard1 35b6ae1
Remove debug
Yard1 fa2886b
Merge branch 'master' into run_doc_notebooks
Yard1 9c703d1
Tweaks
Yard1 533c90a
Fix
Yard1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
load("//bazel:python.bzl", "py_test_run_all_notebooks") | ||
|
||
filegroup( | ||
name = "air_examples", | ||
srcs = glob(["*.ipynb"]), | ||
visibility = ["//doc:__subpackages__"] | ||
) | ||
) | ||
|
||
# -------------------------------------------------------------------- | ||
# Test all doc/source/ray-air/examples notebooks. | ||
# -------------------------------------------------------------------- | ||
|
||
py_test_run_all_notebooks( | ||
size = "large", | ||
include = ["*.ipynb"], | ||
exclude = [], | ||
data = ["//doc/source/ray-air/examples:air_examples"], | ||
tags = ["exclusive", "team:ml"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
load("//bazel:python.bzl", "py_test_run_all_notebooks") | ||
|
||
filegroup( | ||
name = "tune_examples", | ||
srcs = glob(["*.ipynb"]), | ||
visibility = ["//doc:__subpackages__"] | ||
) | ||
|
||
# -------------------------------------------------------------------- | ||
# Test all doc/source/tune/examples notebooks. | ||
# -------------------------------------------------------------------- | ||
|
||
# pbt_ppo_example.ipynb is not tested right now due to large resource | ||
# requirements | ||
|
||
py_test_run_all_notebooks( | ||
size = "medium", | ||
include = ["*.ipynb"], | ||
exclude = ["pbt_ppo_example.ipynb", "tune-xgboost.ipynb"], | ||
data = ["//doc/source/tune/examples:tune_examples"], | ||
tags = ["exclusive", "team:ml"], | ||
) | ||
|
||
# GPU tests | ||
py_test_run_all_notebooks( | ||
size = "large", | ||
include = ["tune-xgboost.ipynb"], | ||
exclude = [], | ||
data = ["//doc/source/tune/examples:tune_examples"], | ||
tags = ["exclusive", "team:ml", "gpu"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great catch!