Skip to content

Commit ba38732

Browse files
committed
Windows
1 parent 83a82ef commit ba38732

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-binaries.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,13 @@ jobs:
6262
cd __test_wheel__
6363
cp -r ../tests .
6464
python -m venv .venv
65-
./.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
66-
./.venv/bin/pip install --no-index --find-links=../dist temporalio
67-
./.venv/bin/python -m pytest -s -k test_workflow_hello
65+
bindir=bin
66+
if [ "$RUNNER_OS" = "Windows" ]; then
67+
bindir=Scripts
68+
fi
69+
./.venv/$bindir/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
70+
./.venv/$bindir/pip install --no-index --find-links=../dist temporalio
71+
./.venv/$bindir/python -m pytest -s -k test_workflow_hello
6872
6973
# Upload dist
7074
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)