Skip to content

Commit d7b4936

Browse files
committed
testenv
1 parent da091d1 commit d7b4936

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,19 @@ jobs:
6666
name: rtc-wheel
6767
path: rtc-wheel
6868

69-
- name: Install the project
70-
run: uv sync --all-extras --dev
69+
- name: Create venv and install dependencies
70+
run: |
71+
uv venv .test-venv
72+
source .test-venv/bin/activate
73+
uv pip install rtc-wheel/*.whl ./livekit-api ./livekit-protocol
74+
uv pip install pytest pytest-asyncio numpy matplotlib
7175
7276
- name: Run tests
7377
env:
7478
LIVEKIT_URL: ${{ secrets.LIVEKIT_URL }}
7579
LIVEKIT_API_KEY: ${{ secrets.LIVEKIT_API_KEY }}
7680
LIVEKIT_API_SECRET: ${{ secrets.LIVEKIT_API_SECRET }}
7781
run: |
78-
uv pip install rtc-wheel/*.whl ./livekit-api ./livekit-protocol
79-
rm -rf livekit-rtc/livekit
80-
uv run pytest tests/
82+
source .test-venv/bin/activate
83+
pytest tests/
8184

0 commit comments

Comments
 (0)