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: Add workflow to serve documentation preview in PRs #1027

Merged
merged 8 commits into from
Dec 30, 2024

Conversation

thomass-dev
Copy link
Collaborator

@thomass-dev thomass-dev commented Dec 27, 2024

Documentation preview deployed to a dev bucket.


Example: https://skoredoc.k.probabl.dev/1027/

image

@thomass-dev thomass-dev force-pushed the documentation-preview branch 8 times, most recently from 901043e to f37e661 Compare December 27, 2024 16:29
@thomass-dev thomass-dev force-pushed the documentation-preview branch from f37e661 to 0431699 Compare December 27, 2024 16:39
@thomass-dev thomass-dev force-pushed the documentation-preview branch from 04391cf to 6418507 Compare December 27, 2024 16:58
@probabl-ai probabl-ai deleted a comment from github-actions bot Dec 27, 2024
Copy link
Contributor

github-actions bot commented Dec 27, 2024

Documentation preview @ 2d36765

@thomass-dev thomass-dev force-pushed the documentation-preview branch from 4e908b1 to 6aaa903 Compare December 30, 2024 10:10
@thomass-dev thomass-dev force-pushed the documentation-preview branch 7 times, most recently from c3a88a7 to 4e05c39 Compare December 30, 2024 20:26
@thomass-dev thomass-dev force-pushed the documentation-preview branch from 4e05c39 to 65f38b9 Compare December 30, 2024 20:34
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 30, 2024
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 30, 2024
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 30, 2024
@thomass-dev thomass-dev force-pushed the documentation-preview branch from eba2f65 to bab1861 Compare December 30, 2024 22:03
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 30, 2024
@thomass-dev thomass-dev force-pushed the documentation-preview branch from bab1861 to 9a975ca Compare December 30, 2024 22:25
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 30, 2024
@thomass-dev thomass-dev force-pushed the documentation-preview branch from 9a975ca to 7185715 Compare December 30, 2024 22:32
thomass-dev added a commit that referenced this pull request Dec 30, 2024
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 30, 2024
@thomass-dev thomass-dev force-pushed the documentation-preview branch from 7185715 to 2d36765 Compare December 30, 2024 22:58
Copy link
Contributor

Coverage Report for frontend

Status Category Percentage Covered / Total
🔵 Lines 85.06% 3361 / 3951
🔵 Statements 85.06% 3361 / 3951
🔵 Functions 44.77% 60 / 134
🔵 Branches 82.03% 242 / 295
File CoverageNo changed files found.
Generated in workflow #16 for commit 2d36765 by the Vitest Coverage Report Action

Copy link
Contributor

Coverage

Coverage Report for backend
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore
   __init__.py180100% 
   __main__.py811 80%
   exceptions.py40100% 
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/cli
   __init__.py80100% 
   cli.py3222 89%
   launch_dashboard.py22120 42%
   quickstart_command.py1250 58%
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/item
   __init__.py210100% 
   cross_validation_item.py127102 92%
   item.py41130 68%
   item_repository.py4221 93%
   media_item.py7041 94%
   numpy_array_item.py2511 93%
   pandas_dataframe_item.py3411 95%
   pandas_series_item.py3411 95%
   polars_dataframe_item.py3211 94%
   polars_series_item.py2711 94%
   primitive_item.py2721 92%
   sklearn_base_estimator_item.py3311 95%
   skrub_table_report_item.py1011 86%
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/persistence
   __init__.py00100% 
   abstract_storage.py2210 95%
   disk_cache_storage.py3311 95%
   in_memory_storage.py200100% 
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/project
   __init__.py40100% 
   create.py5080 88%
   load.py2330 89%
   project.py6244 91%
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/sklearn
   __init__.py30100% 
   find_ml_task.py1923 85%
   types.py20100% 
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/sklearn/cross_validation
   __init__.py20100% 
   cross_validation_helpers.py4141 89%
   cross_validation_reporter.py3711 95%
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/sklearn/cross_validation/plots
   __init__.py00100% 
   compare_scores_plot.py2912 92%
   timing_normalized_plot.py2911 94%
   timing_plot.py2911 94%
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/sklearn/train_test_split
   __init__.py00100% 
   train_test_split.py3421 94%
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/sklearn/train_test_split/warning
   __init__.py80100% 
   high_class_imbalance_too_few_examples_warning.py1732 78%
   high_class_imbalance_warning.py1821 88%
   random_state_unset_warning.py1111 87%
   shuffle_true_warning.py901 91%
   stratify_is_set_warning.py1111 87%
   time_based_column_warning.py2212 89%
   train_test_split_warning.py510 80%
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/ui
   __init__.py00100% 
   app.py2552 71%
   dependencies.py710 86%
   project_routes.py500100% 
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/utils
   __init__.py00100% 
   _show_versions.py290100% 
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/skore/view
   __init__.py00100% 
   view.py50100% 
   view_repository.py1621 83%
src/skore
   __init__.py18180 0%
   __main__.py880 0%
   exceptions.py440 0%
src/skore/cli
   __init__.py80100% 
   cli.py3222 89%
   launch_dashboard.py22120 42%
   quickstart_command.py1220 83%
src/skore/item
   __init__.py21210 0%
   cross_validation_item.py1271270 0%
   item.py41410 0%
   item_repository.py42420 0%
   media_item.py70700 0%
   numpy_array_item.py25250 0%
   pandas_dataframe_item.py34340 0%
   pandas_series_item.py34340 0%
   polars_dataframe_item.py32320 0%
   polars_series_item.py27270 0%
   primitive_item.py27270 0%
   sklearn_base_estimator_item.py33330 0%
   skrub_table_report_item.py10100 0%
src/skore/persistence
   __init__.py00100% 
   abstract_storage.py22220 0%
   disk_cache_storage.py33330 0%
   in_memory_storage.py20200 0%
src/skore/project
   __init__.py440 0%
   create.py50500 0%
   load.py23230 0%
   project.py62620 0%
src/skore/sklearn
   __init__.py330 0%
   find_ml_task.py19190 0%
   types.py220 0%
src/skore/sklearn/cross_validation
   __init__.py220 0%
   cross_validation_helpers.py41410 0%
   cross_validation_reporter.py37370 0%
src/skore/sklearn/cross_validation/plots
   __init__.py00100% 
   compare_scores_plot.py29290 0%
   timing_normalized_plot.py29290 0%
   timing_plot.py29290 0%
src/skore/sklearn/train_test_split
   __init__.py00100% 
   train_test_split.py34340 0%
src/skore/sklearn/train_test_split/warning
   __init__.py880 0%
   high_class_imbalance_too_few_examples_warning.py17170 0%
   high_class_imbalance_warning.py18180 0%
   random_state_unset_warning.py11110 0%
   shuffle_true_warning.py990 0%
   stratify_is_set_warning.py11110 0%
   time_based_column_warning.py22220 0%
   train_test_split_warning.py550 0%
src/skore/ui
   __init__.py00100% 
   app.py25250 0%
   dependencies.py770 0%
   project_routes.py50500 0%
src/skore/utils
   __init__.py00100% 
   _show_versions.py29290 0%
src/skore/view
   __init__.py00100% 
   view.py550 0%
   view_repository.py16160 0%
TOTAL2598134547% 

Tests Skipped Failures Errors Time
187 0 💤 0 ❌ 0 🔥 39.681s ⏱️

@thomass-dev thomass-dev marked this pull request as ready for review December 30, 2024 23:12
@thomass-dev thomass-dev merged commit 8138ac9 into fix-ci-on-fork Dec 30, 2024
19 checks passed
@thomass-dev thomass-dev deleted the documentation-preview branch December 30, 2024 23:12
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 31, 2024
thomass-dev added a commit to thomass-dev/skore-fork that referenced this pull request Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Having documentation preview in PR would be really handy for reviewing
1 participant