@@ -5,7 +5,11 @@ concurrency:
5
5
# on old commits.
6
6
group : ${{ github.workflow }}-${{ github.ref }}
7
7
cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
8
+ env :
9
+ MODIN_GITHUB_CI : true
10
+
8
11
jobs :
12
+
9
13
check-pr-title :
10
14
runs-on : ubuntu-latest
11
15
steps :
14
18
# NOTE: If you change the allowed prefixes here, update
15
19
# the documentation about them in /docs/development/contributing.rst
16
20
regexp : ' ^(?:FEAT|DOCS|FIX|REFACTOR|TEST|PERF)-#\d+:'
21
+
17
22
build-docs :
18
23
name : build docs
19
24
runs-on : ubuntu-latest
29
34
cache-dependency-path : ' **/requirements-doc.txt'
30
35
- run : pip install -r docs/requirements-doc.txt
31
36
- run : cd docs && sphinx-build -T -E -W -b html . build
32
- env :
33
- MODIN_GITHUB_CI : true
37
+
38
+ lint-pydocstyle :
39
+ name : lint (pydocstyle)
40
+ runs-on : ubuntu-latest
41
+ steps :
42
+ - uses : actions/checkout@v3
43
+ - uses : ./.github/actions/python-only
44
+ # The `numpydoc` version here MUST match the versions in the dev requirements files.
45
+ - run : pip install pytest pytest-cov pydocstyle numpydoc==1.1.0 xgboost
46
+ - run : python -m pytest scripts/test
47
+ - run : pip install -e ".[all]"
48
+ - run : |
49
+ python scripts/doc_checker.py --add-ignore=D101,D102,D103,D105 --disable-numpydoc \
50
+ modin/pandas/dataframe.py modin/pandas/series.py \
51
+ modin/pandas/groupby.py \
52
+ modin/pandas/series_utils.py modin/pandas/general.py \
53
+ modin/pandas/plotting.py modin/pandas/utils.py \
54
+ modin/pandas/iterator.py modin/pandas/indexing.py \
55
+ - run : python scripts/doc_checker.py modin/core/dataframe
56
+ - run : python scripts/doc_checker.py modin/core/execution/dask
57
+ - run : |
58
+ python scripts/doc_checker.py \
59
+ modin/pandas/accessor.py modin/pandas/general.py \
60
+ modin/pandas/groupby.py modin/pandas/indexing.py \
61
+ modin/pandas/iterator.py modin/pandas/plotting.py \
62
+ modin/pandas/series_utils.py modin/pandas/utils.py \
63
+ modin/pandas/base.py \
64
+ modin/pandas/io.py \
65
+ asv_bench/benchmarks/utils \
66
+ asv_bench/benchmarks/__init__.py asv_bench/benchmarks/io/__init__.py \
67
+ asv_bench/benchmarks/scalability/__init__.py \
68
+ modin/core/io \
69
+ modin/experimental/core/execution/ray/implementations/pandas_on_ray \
70
+ modin/experimental/core/execution/ray/implementations/pyarrow_on_ray \
71
+ modin/pandas/series.py \
72
+ modin/core/execution/python \
73
+ modin/pandas/dataframe.py \
74
+ modin/config/__init__.py \
75
+ modin/config/__main__.py \
76
+ modin/config/envvars.py \
77
+ modin/config/pubsub.py
78
+ - run : python scripts/doc_checker.py modin/distributed
79
+ - run : python scripts/doc_checker.py modin/utils.py
80
+ - run : python scripts/doc_checker.py modin/experimental/sklearn
81
+ - run : |
82
+ python scripts/doc_checker.py modin/experimental/xgboost/__init__.py \
83
+ modin/experimental/xgboost/utils.py modin/experimental/xgboost/xgboost.py \
84
+ modin/experimental/xgboost/xgboost_ray.py
85
+ - run : python scripts/doc_checker.py modin/core/execution/ray
86
+ - run : |
87
+ python scripts/doc_checker.py modin/core/execution/dispatching/factories/factories.py \
88
+ modin/core/execution/dispatching/factories/dispatcher.py \
89
+ - run : python scripts/doc_checker.py scripts/doc_checker.py
90
+ - run : |
91
+ python scripts/doc_checker.py modin/experimental/pandas/io.py \
92
+ modin/experimental/pandas/numpy_wrap.py modin/experimental/pandas/__init__.py
93
+ - run : python scripts/doc_checker.py modin/core/storage_formats/base
94
+ - run : python scripts/doc_checker.py modin/experimental/core/storage_formats/pyarrow
95
+ - run : python scripts/doc_checker.py modin/core/storage_formats/pandas
96
+ - run : |
97
+ python scripts/doc_checker.py \
98
+ modin/experimental/core/execution/native/implementations/hdk_on_native/dataframe \
99
+ modin/experimental/core/execution/native/implementations/hdk_on_native/io \
100
+ modin/experimental/core/execution/native/implementations/hdk_on_native/partitioning \
101
+ modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_algebra.py \
102
+ modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_builder.py \
103
+ modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_serializer.py \
104
+ modin/experimental/core/execution/native/implementations/hdk_on_native/df_algebra.py \
105
+ modin/experimental/core/execution/native/implementations/hdk_on_native/expr.py \
106
+ modin/experimental/core/execution/native/implementations/hdk_on_native/hdk_worker.py \
107
+ - run : python scripts/doc_checker.py modin/experimental/core/storage_formats/hdk
108
+ - run : python scripts/doc_checker.py modin/experimental/core/execution/native/implementations/hdk_on_native/interchange/dataframe_protocol
109
+ - run : python scripts/doc_checker.py modin/experimental/batch/pipeline.py
110
+ - run : python scripts/doc_checker.py modin/logging
0 commit comments