-
Notifications
You must be signed in to change notification settings - Fork 114
35 lines (31 loc) · 872 Bytes
/
tests.yml
File metadata and controls
35 lines (31 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: true
lfs: true
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Run tests
env:
LIVEKIT_URL: ${{ secrets.LIVEKIT_URL }}
LIVEKIT_API_KEY: ${{ secrets.LIVEKIT_API_KEY }}
LIVEKIT_API_SECRET: ${{ secrets.LIVEKIT_API_SECRET }}
run: |
pip3 install -r dev-requirements.txt
python3 ./livekit-rtc/rust-sdks/download_ffi.py --output livekit-rtc/livekit/rtc/resources
pip3 install ./livekit-protocol ./livekit-api ./livekit-rtc
pytest . --ignore=livekit-rtc/rust-sdks