@@ -54,29 +54,22 @@ jobs:
5454 command : |
5555 python3.11 -m venv venv
5656 . 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
5860 # get newer, pre-release versions of critical packages
5961 pip install --progress-bar=off --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple -r requirements/doc_requirements.txt
6062 # 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
7064
7165 - run :
7266 name : build devdocs w/ref warnings
7367 command : |
7468 . venv/bin/activate
75- cd doc
7669 # 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"
8073 exit -1
8174 fi
8275
9588 # destination: neps
9689
9790 - run :
98- name : run refguide- check
91+ name : check doctests
9992 command : |
10093 . 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
101101 python tools/refguide_check.py -v
102102
103103 - persist_to_workspace :
0 commit comments