File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -235,10 +235,19 @@ jobs:
235235 uv build
236236 # Just in case, undo the changes to `pyproject.toml`
237237 git restore --staged . && git restore .
238- - name : Check build
238+ - name : Check included files in source distribution
239239 run : |
240240 tar -tvf dist/example_fgen_basic-*.tar.gz --wildcards '*example_fgen_basic/py.typed'
241241 tar -tvf dist/example_fgen_basic-*.tar.gz --wildcards 'example_fgen_basic-*/LICENCE'
242+ - name : Check source distribution can be used for installation
243+ run : |
244+ cd dist
245+ ls
246+ python3 -m venv venv
247+ # TODO: alter for windows
248+ source venv/bin/activate
249+ pip install example_fgen_basic*
250+ python -c 'from example_fgen_basic.get_wavelength import get_wavelength_plain; print(get_wavelength_plain(23.4))'
242251
243252 check-dependency-licences :
244253 strategy :
You can’t perform that action at this time.
0 commit comments