@@ -54,29 +54,22 @@ jobs:
54
54
command : |
55
55
python3.11 -m venv venv
56
56
. venv/bin/activate
57
- pip install --progress-bar=off -r requirements/test_requirements.txt
57
+ pip install --progress-bar=off -r requirements/test_requirements.txt \
58
+ -r requirements/build_requirements.txt \
59
+ -r requirements/ci_requirements.txt
58
60
# get newer, pre-release versions of critical packages
59
61
pip install --progress-bar=off --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple -r requirements/doc_requirements.txt
60
62
# then install numpy HEAD, which will override the version installed above
61
- pip install . --config-settings=setup-args="-Dallow-noblas=true"
62
-
63
- - run :
64
- name : create release notes
65
- command : |
66
- . venv/bin/activate
67
- VERSION=$(pip show numpy | grep Version: | cut -d ' ' -f 2 | cut -c 1-5)
68
- towncrier build --version $VERSION --yes
69
- ./tools/ci/test_all_newsfragments_used.py
63
+ spin build --with-scipy-openblas=64
70
64
71
65
- run :
72
66
name : build devdocs w/ref warnings
73
67
command : |
74
68
. venv/bin/activate
75
- cd doc
76
69
# Don't use -q, show warning summary"
77
- SPHINXOPTS="-W -n" make -e html
78
- if [[ $(find build/html -type f | wc -l) -lt 1000 ]]; then
79
- echo "doc build failed: build/html is empty"
70
+ SPHINXOPTS="-W -n" spin docs
71
+ if [[ $(find doc/ build/html -type f | wc -l) -lt 1000 ]]; then
72
+ echo "doc build failed: doc/ build/html is empty"
80
73
exit -1
81
74
fi
82
75
95
88
# destination: neps
96
89
97
90
- run :
98
- name : run refguide- check
91
+ name : check doctests
99
92
command : |
100
93
. venv/bin/activate
94
+ spin check-docs -v
95
+ spin check-tutorials -v
96
+ # Currently, this does two checks not done by check-docs:
97
+ # - validates ReST blocks (via validate_rst_syntax)
98
+ # - checks that all of a module's `__all__` is reflected in the
99
+ # module-level docstring autosummary
100
+ echo calling python tools/refguide_check.py -v
101
101
python tools/refguide_check.py -v
102
102
103
103
- persist_to_workspace :
0 commit comments