Skip to content

Commit b114ccd

Browse files
committed
Smoke test
1 parent 6246db0 commit b114ccd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build-binaries.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,17 @@ jobs:
5353
# Build the wheel
5454
- run: uv run cibuildwheel --output-dir dist
5555

56-
# Run a test
57-
- run: uv run pytest -k test_activity_hello
56+
# Install the wheel in a new venv and run a test
57+
- name: Test wheel
58+
shell: bash
59+
run: |
60+
mkdir __test_wheel__
61+
cd __test_wheel__
62+
cp -r ../tests .
63+
python -m venv .venv
64+
./.venv/bin/pip install 'protobuf>=3.20' 'types-protobuf>=3.20' 'typing-extensions<5,>=4.2.0' pytest pytest_asyncio grpcio pydantic opentelemetry-api opentelemetry-sdk python-dateutil
65+
./.venv/bin/pip install --no-index --find-links=../dist temporalio
66+
./.venv/bin/python -m pytest -s -k test_workflow_hello
5867
5968
# Upload dist
6069
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)