Skip to content

Add deployment instructions and working Dockerfile #14

Add deployment instructions and working Dockerfile

Add deployment instructions and working Dockerfile #14

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# As this is a starter template project, we don't want to check in the uv.lock and livekit.toml files in its template form
# However, once you have cloned this repo for your own use, LiveKit recommends you check them in and remove this check
- name: Check files not tracked in git
run: |
if git ls-files | grep -q "^uv\.lock$"; then
echo "Error: uv.lock should not be checked into git"
echo "Disable this test and commit the file once you have cloned this repo for your own use"
exit 1
fi
if git ls-files | grep -q "^livekit\.toml$"; then
echo "Error: livekit.toml should not be checked into git"
echo "Disable this test and commit the file once you have cloned this repo for your own use"
exit 1
fi
echo "✓ uv.lock and livekit.toml are correctly not tracked in git"
- name: Install uv
uses: astral-sh/setup-uv@v1
with:
version: "latest"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: UV_GIT_LFS=1 uv sync --dev
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: uv run pytest -v