File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -122,3 +122,37 @@ jobs:
122122 run : |
123123 make -C doc html SPHINXOPTS="-nT"
124124 make -C doc latexpdf SPHINXOPTS="-nT"
125+
126+ test-sdist :
127+ runs-on : ${{ matrix.os }}-latest
128+ strategy :
129+ matrix :
130+ os : [ubuntu]
131+ python-version : ["3.12", "3.13", "3.14"]
132+ steps :
133+ - uses : actions/checkout@v5
134+
135+ - name : Python setup
136+ uses : actions/setup-python@v6
137+ with :
138+ python-version : ${{ matrix.python-version }}
139+
140+ - name : Setup environment
141+ run : |
142+ python -m pip install --upgrade pip wheel setuptools build
143+ python -m pip list
144+
145+ - name : Install dependencies
146+ run : |
147+ python -m pip install --group test --group doc
148+ pip list
149+
150+ - name : Install numpydoc from source tarball
151+ run : |
152+ python -m build
153+ python -m pip install --no-binary numpydoc dist/*.tar.gz
154+ pip list
155+
156+ - name : Run test suite
157+ run : |
158+ pytest -v --pyargs numpydoc
You can’t perform that action at this time.
0 commit comments