Skip to content

feat: Add Grok realtime voice CLI #186

feat: Add Grok realtime voice CLI

feat: Add Grok realtime voice CLI #186

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: "${{ github.repository_owner == 'iterate' && 'depot-ubuntu-24.04-4' || 'ubuntu-24.04' }}"
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Doppler CLI
uses: dopplerhq/cli-action@v3
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run tests
run: doppler run -- bun run test
env:
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}
TEST_ARTIFACTS_DIR: ${{ runner.temp }}/test-artifacts
- name: Archive test artifacts on failure
if: failure()
run: |
if [ -d "${{ runner.temp }}/test-artifacts" ] && [ "$(ls -A ${{ runner.temp }}/test-artifacts)" ]; then
tar -czvf test-artifacts.tar.gz -C "${{ runner.temp }}/test-artifacts" .
else
echo "No test artifacts to archive"
fi
- name: Upload test artifacts
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-failure-artifacts
path: test-artifacts.tar.gz
if-no-files-found: ignore
retention-days: 7