-
Notifications
You must be signed in to change notification settings - Fork 246
Expand file tree
/
Copy pathaugmentos_cloud_pr_dev_main.yml
More file actions
57 lines (48 loc) · 1.65 KB
/
augmentos_cloud_pr_dev_main.yml
File metadata and controls
57 lines (48 loc) · 1.65 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Test AugmentOS Cloud PR (dev → main)
on:
pull_request:
types: [synchronize]
branches:
- main
jobs:
test_live_captions_mira_translation:
if: ${{ github.head_ref == 'dev' && github.base_ref == 'main' }}
name: Live Captions, Mira, and Translation tests
runs-on: ubuntu-latest
env:
NODE_ENV: development
DEFAULT_SERVER_URL: https://devapi.mentra.glass:443
AUGMENTOS_AUTH_JWT_SECRET: ${{ secrets.AUGMENTOS_AUTH_JWT_SECRET }}
JOE_MAMA_USER_JWT: ${{ secrets.JOE_MAMA_USER_JWT }}
SYSTEM_DASHBOARD_PACKAGE_NAME: ${{ vars.SYSTEM_DASHBOARD_PACKAGE_NAME }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION || 'latest' }}
- name: Cache Bun dependencies
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('cloud/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install Dependencies
working-directory: cloud
run: bun run setup-deps
- name: Build all projects
working-directory: cloud
run: bun run build
- name: Run live captions tests
working-directory: cloud/packages/cloud-client
run: bun run test:live-captions
- name: Run mira tests
working-directory: cloud/packages/cloud-client
run: bun run test:mira
- name: Run translation tests
working-directory: cloud/packages/cloud-client
run: bun run test:translation