Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,24 +104,10 @@ jobs:
shopt -s dotglob extglob
mv !(root) root/
# Required for E2E tests
- name: Install LiveKit Server
run: curl -sSL https://get.livekit.io | bash
- name: Run LiveKit Server
env:
# TODO: once data tracks is enabled by default in a subsequent SFU release, remove this.
LIVEKIT_CONFIG: "enable_data_tracks: true"
run: livekit-server --dev &
- name: Wait for LiveKit Server
run: |
for i in $(seq 1 30); do
if curl -sf http://localhost:7880 > /dev/null 2>&1; then
echo "LiveKit server is ready"
exit 0
fi
sleep 1
done
echo "LiveKit server failed to start within 30s"
exit 1
uses: livekit/dev-server-action@61e2b4dcb170dd3591e0c9b0db3c3fe5db93b500
with:
github-token: ${{ github.token }}
- name: Run Tests
uses: game-ci/unity-test-runner@v4
id: testRunner
Expand Down
Loading