Skip to content

Commit be927ed

Browse files
author
Gerry Manoim
committed
BLD: Make sure we import the module we downloaded, **not** the source files
1 parent a2b274d commit be927ed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ jobs:
4141
- name: Install from test and test running
4242
run: |
4343
pip install --extra-index-url https://test.pypi.org/simple libpy
44-
python -c 'import libpy;print(libpy.__version__)'
44+
mkdir tmp && cd tmp && python -c 'import libpy;print(libpy.__version__)'
4545
pip uninstall -y libpy
46+
cd ..
4647
4748
- name: Publish distribution 📦 to PyPI
4849
uses: pypa/gh-action-pypi-publish@master
@@ -53,7 +54,8 @@ jobs:
5354
- name: Install and test running
5455
run: |
5556
pip install libpy
56-
python -c 'import libpy;print(libpy.__version__)
57+
mkdir tmp && cd tmp && python -c 'import libpy;print(libpy.__version__)
58+
cd ..
5759
5860
- name: Build the docs
5961
run: |

0 commit comments

Comments
 (0)