-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (56 loc) · 1.7 KB
/
Copy pathcodex-plugin.yml
File metadata and controls
60 lines (56 loc) · 1.7 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
name: Codex Plugin
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
inputs:
live_smoke:
description: Run the real networked Codex marketplace smoke test
required: true
type: boolean
default: false
permissions:
contents: read
jobs:
codex-plugin:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
with:
python-version: "3.11"
- run: pip install -e ".[dev]"
- run: python scripts/update_codex_plugin_manifest.py --check
- run: >-
pytest
tests/install/test_codex_plugin_payload.py
tests/install/test_codex_install.py
tests/install/test_codex_cli.py
tests/install/test_install.py
-v
live-smoke:
if: ${{ github.event_name == 'workflow_dispatch' && inputs.live_smoke }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
with:
python-version: "3.11"
- run: pip install -e ".[dev]"
- run: pip install uv
- run: npm install -g @openai/codex
- run: reviewer install codex
env:
CODEX_HOME: ${{ runner.temp }}/codex-home
- run: codex plugin list --json
env:
CODEX_HOME: ${{ runner.temp }}/codex-home
- run: codex mcp list
env:
CODEX_HOME: ${{ runner.temp }}/codex-home