Skip to content

Commit 91f6e8e

Browse files
committed
fix: test installation without rebuilding package
The test-install target depends on build which regenerates the package from .project.yml, losing the dev version we set. Now we test the already-built wheel directly without rebuilding.
1 parent d603325 commit 91f6e8e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/dev-pypi.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,12 @@ jobs:
9999
100100
- name: Check package
101101
run: |
102-
make test-install
102+
# Test installation without rebuilding
103+
echo "Testing package installation in clean environment..."
104+
python -m venv /tmp/test-install-env
105+
/tmp/test-install-env/bin/pip install dist/*.whl
106+
/tmp/test-install-env/bin/python -c "import orb_py; print('Package installed successfully')"
107+
rm -rf /tmp/test-install-env
103108
104109
- name: Publish to Test PyPI
105110
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)