-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 979 Bytes
/
Copy pathe2e.yml
File metadata and controls
44 lines (37 loc) · 979 Bytes
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
name: E2E Tests
on:
workflow_dispatch:
inputs:
demos:
description: "Which demos to test (space-separated, or leave blank for all)"
required: false
default: ""
type: string
schedule:
# Weekly Monday 6:00 UTC — catch regressions from dependency updates
- cron: "0 6 * * 1"
concurrency:
group: e2e-tests
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: macos-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- name: Install test dependencies
run: brew install tmux lima
- name: Build clawctl
run: bun run build:release
- name: Run E2E tests
run: |
ARGS="${{ inputs.demos }}"
if [[ -n "$ARGS" ]]; then
./scripts/demos/test-all.sh $ARGS
else
./scripts/demos/test-all.sh
fi