Skip to content

Commit c907374

Browse files
committed
Do test in a different dir
1 parent 702a246 commit c907374

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build-binaries.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,15 @@ jobs:
5757
# Install the wheel in a new venv and run a test
5858
- name: Test wheel
5959
run: |
60+
mkdir __test_wheel__
61+
cd __test_wheel__
6062
python -m venv .test-venv
6163
./.test-venv/bin/pip install 'protobuf>=3.20' 'types-protobuf>=3.20' 'typing-extensions<5,>=4.2.0'
62-
./.test-venv/bin/pip install --no-index --find-links=./dist temporalio
64+
./.test-venv/bin/pip install --no-index --find-links=../dist temporalio
6365
./.test-venv/bin/pip install pytest
6466
./.test-venv/bin/python -m pytest -k tests/test_activity_hello
65-
rm -r .test-venv
67+
cd ..
68+
rm -r __test_wheel__
6669
6770
# Upload dist
6871
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)