Skip to content

Commit a9bdde5

Browse files
author
MomIsBestFriend
committed
CI: Add doctest check for done modules
1 parent 30724b9 commit a9bdde5

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

ci/code_checks.sh

+18-2
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,12 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
279279
pytest -q --doctest-modules pandas/core/groupby/groupby.py -k"-cumcount -describe -pipe"
280280
RET=$(($RET + $?)) ; echo $MSG "DONE"
281281

282-
MSG='Doctests datetimes.py' ; echo $MSG
283-
pytest -q --doctest-modules pandas/core/tools/datetimes.py
282+
MSG='Doctests tools' ; echo $MSG
283+
pytest -q --doctest-modules pandas/core/tools/
284+
RET=$(($RET + $?)) ; echo $MSG "DONE"
285+
286+
MSG='Doctests util' ; echo $MSG
287+
pytest -q --doctest-modules pandas/core/util/
284288
RET=$(($RET + $?)) ; echo $MSG "DONE"
285289

286290
MSG='Doctests reshaping functions' ; echo $MSG
@@ -323,6 +327,18 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
323327
MSG='Doctests tseries' ; echo $MSG
324328
pytest -q --doctest-modules pandas/tseries/
325329
RET=$(($RET + $?)) ; echo $MSG "DONE"
330+
331+
MSG='Doctests sparse' ; echo $MSG
332+
pytest -q --doctest-modules pandas/core/sparse/
333+
RET=$(($RET + $?)) ; echo $MSG "DONE"
334+
335+
MSG='Doctests array_algos' ; echo $MSG
336+
pytest -q --doctest-modules pandas/core/array_algos/
337+
RET=$(($RET + $?)) ; echo $MSG "DONE"
338+
339+
MSG='Doctests computation' ; echo $MSG
340+
pytest -q --doctest-modules pandas/core/computation/
341+
RET=$(($RET + $?)) ; echo $MSG "DONE"
326342
fi
327343

328344
### DOCSTRINGS ###

0 commit comments

Comments
 (0)