-
Notifications
You must be signed in to change notification settings - Fork 4
60 lines (53 loc) · 1.45 KB
/
Copy pathci-harness.yml
File metadata and controls
60 lines (53 loc) · 1.45 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 CI harness
on:
push:
branches: [main]
paths:
- "plugins/codex-rig/**"
- ".codex/config.toml"
- ".github/codex-harness.sh"
- ".github/workflows/ci-harness.yml"
pull_request:
paths:
- "plugins/codex-rig/**"
- ".codex/config.toml"
- ".github/codex-harness.sh"
- ".github/workflows/ci-harness.yml"
workflow_dispatch:
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
offline-harness:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
timeout-minutes: 10
env:
CODEX_HARNESS_RESULTS_DIR: ".github/codex-harness-results"
OPENAI_API_KEY: ""
OPENAI_BASE_URL: ""
OPENAI_API_BASE: ""
ANTHROPIC_API_KEY: ""
GOOGLE_API_KEY: ""
GEMINI_API_KEY: ""
MISTRAL_API_KEY: ""
AZURE_OPENAI_API_KEY: ""
steps:
- name: 📥 Checkout
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- name: 🤖 Run offline Codex harness
run: .github/codex-harness.sh
- name: ⬆️ Upload Codex harness results
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: codex-harness-results
path: .github/codex-harness-results/
if-no-files-found: error