-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (41 loc) · 1.39 KB
/
real-integration.yml
File metadata and controls
53 lines (41 loc) · 1.39 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
name: Codex CLI Smoke
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
permissions:
contents: read
env:
DOTNET_VERSION: '10.0.x'
NODE_VERSION: '22'
jobs:
codex-cli-smoke:
name: Codex CLI Smoke (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v5
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install Codex CLI
run: npm install --no-save @openai/codex
- name: Restore
run: dotnet restore ManagedCode.CodexSharpSDK.slnx
- name: Build
run: dotnet build ManagedCode.CodexSharpSDK.slnx -c Release -warnaserror --no-restore
- name: Test (full solution)
run: dotnet test --solution ManagedCode.CodexSharpSDK.slnx -c Release --no-build -- --treenode-filter "/*/*/*/*[RequiresCodexAuth!=true]"
- name: Smoke tests (Codex CLI discover + invoke)
run: dotnet test --project CodexSharpSDK.Tests/CodexSharpSDK.Tests.csproj -c Release --no-build -- --treenode-filter "/*/*/*/CodexCli_Smoke_*"