-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.44 KB
/
Copy pathtest.yml
File metadata and controls
40 lines (37 loc) · 1.44 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
name: Test
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install Codex CLI
run: npm install --global @openai/codex
- name: Check Python
run: |
python3 -m py_compile scripts/codex_side_fork.py scripts/self_test.py
python3 scripts/self_test.py
python3 skills/codex-side-fork/scripts/self_test.py
- name: Check Swift helpers
run: |
swiftc -typecheck scripts/copy_renderer_markdown.swift
swiftc -typecheck scripts/native_parent_fork.swift
- name: Check packaged skill mirror
run: |
cmp SKILL.md skills/codex-side-fork/SKILL.md
cmp agents/openai.yaml skills/codex-side-fork/agents/openai.yaml
cmp references/protocol-and-recovery.md skills/codex-side-fork/references/protocol-and-recovery.md
cmp scripts/codex_side_fork.py skills/codex-side-fork/scripts/codex_side_fork.py
cmp scripts/copy_renderer_markdown.swift skills/codex-side-fork/scripts/copy_renderer_markdown.swift
cmp scripts/native_parent_fork.swift skills/codex-side-fork/scripts/native_parent_fork.swift
cmp scripts/self_test.py skills/codex-side-fork/scripts/self_test.py