-
Notifications
You must be signed in to change notification settings - Fork 5
72 lines (55 loc) · 1.76 KB
/
Copy pathci.yml
File metadata and controls
72 lines (55 loc) · 1.76 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
canvas-command:
name: Canvas command (Node ${{ matrix.node-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
node-version:
- "16"
- "20"
os:
- ubuntu-22.04
- windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test launcher help without installation side effects
run: node scripts/run-help.test.js
- name: Test canvas command
run: node scripts/canvas-command.test.js
- name: Test command discovery and guides
run: node scripts/canvas-command-schema.test.js && node scripts/canvas-command-guides.test.js
- name: Test runtime artifact assembly
run: node scripts/prepare-canvas-runtime.test.js
- name: Test assembled runtime capabilities and output budgets
run: node scripts/canvas-command-runtime.test.js
- name: Test Canvas, Scene3D and Timeline operations
run: npm run test:canvas-operations
- name: Test CLI-only installation and Skill bootstrap
run: node scripts/install-cli.test.js
- name: Test bundled Skills and marketing API workflow
run: node scripts/skills.test.js && npm run test:marketing-skill
go:
name: Go tests
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go test ./...
- run: go vet ./...