@@ -54,27 +54,20 @@ 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 --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
70
+ SPHINXOPTS="-W -n" spin docs
78
71
if [[ $(find build/html -type f | wc -l) -lt 1000 ]]; then
79
72
echo "doc build failed: build/html is empty"
80
73
exit -1
@@ -95,10 +88,11 @@ jobs:
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
101
- python tools/refguide_check.py -v
94
+ spin check-docs -v
95
+ spin check-tutorials -v
102
96
103
97
- persist_to_workspace :
104
98
root : ~/repo
0 commit comments