Skip to content

observe(hls): log first playlist push + first stream.m3u8 per camera #119

observe(hls): log first playlist push + first stream.m3u8 per camera

observe(hls): log first playlist push + first stream.m3u8 per camera #119

Workflow file for this run

name: Test & Deploy
on:
push:
branches:
- master
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
run: uv python install 3.12
- name: Install dependencies
working-directory: backend
run: uv sync --extra dev
- name: Run tests
working-directory: backend
run: uv run pytest -v
deploy:
name: Deploy to Fly.io
runs-on: ubuntu-latest
needs: test
concurrency:
group: deploy
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}