Skip to content

Commit e3f6759

Browse files
authored
Merge pull request #339 from VirtualPlanetaryLaboratory/fix-pip-install
Fix pip-install import test shadowed by local source
2 parents 1cc3cba + 9eb66e2 commit e3f6759

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pip-install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
run: |
3838
python -m venv venv-sdist
3939
venv-sdist/bin/python -m pip install dist/vplanet*.tar.gz
40-
venv-sdist/bin/python -c "import vplanet; print(vplanet.__version__)"
40+
cd /tmp && "$GITHUB_WORKSPACE/venv-sdist/bin/python" -c "import vplanet; print(vplanet.__version__)"
4141
4242
- name: Test the wheel
4343
run: |
4444
python -m venv venv-wheel
4545
venv-wheel/bin/python -m pip install dist/vplanet*.whl
46-
venv-wheel/bin/python -c "import vplanet; print(vplanet.__version__)"
46+
cd /tmp && "$GITHUB_WORKSPACE/venv-wheel/bin/python" -c "import vplanet; print(vplanet.__version__)"
4747
4848
- uses: actions/upload-artifact@v4
4949
with:

0 commit comments

Comments
 (0)