|
18 | 18 | - release |
19 | 19 | - mcp |
20 | 20 | - full |
21 | | - include_macos: |
22 | | - description: Also run the selected validation scope on macOS. |
23 | | - required: true |
24 | | - default: true |
25 | | - type: boolean |
26 | 21 |
|
27 | 22 | permissions: |
28 | 23 | contents: read |
|
72 | 67 | pytest.stderr.log |
73 | 68 | retention-days: 14 |
74 | 69 |
|
75 | | - fast-macos: |
76 | | - name: Fast validation (macos) |
77 | | - if: | |
78 | | - github.event_name != 'workflow_dispatch' || |
79 | | - (inputs.include_macos && (inputs.scope == 'fast' || inputs.scope == 'runtime' || inputs.scope == 'release' || inputs.scope == 'mcp' || inputs.scope == 'full')) |
80 | | - runs-on: macos-latest |
81 | | - timeout-minutes: 25 |
82 | | - steps: |
83 | | - - name: Checkout |
84 | | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
85 | | - with: |
86 | | - fetch-depth: 0 |
87 | | - |
88 | | - - name: Set up validation runtime |
89 | | - uses: ./.github/actions/setup-codex-runtime |
90 | | - with: |
91 | | - install-codex: "false" |
92 | | - install-dart: "false" |
93 | | - |
94 | | - - name: Bootstrap fullrepo agent context |
95 | | - run: scripts/sync_fullrepo_branch.sh --bootstrap-init |
96 | | - |
97 | | - - name: Run fast validation |
98 | | - shell: bash |
99 | | - run: | |
100 | | - set -euo pipefail |
101 | | - scripts/validate_fast.sh 2>pytest.stderr.log |
102 | | - python3 scripts/classify_ci_noise.py --strict pytest.stderr.log |
103 | | -
|
104 | | - - name: Upload test reports |
105 | | - if: always() |
106 | | - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
107 | | - with: |
108 | | - name: fast-validation-macos |
109 | | - path: | |
110 | | - pytest.xml |
111 | | - coverage.xml |
112 | | - pytest.stderr.log |
113 | | - retention-days: 14 |
114 | | - |
115 | 70 | runtime-ubuntu: |
116 | 71 | name: Runtime smoke (ubuntu) |
117 | 72 | if: | |
@@ -157,51 +112,6 @@ jobs: |
157 | 112 | path: diagnostics/ci |
158 | 113 | retention-days: 14 |
159 | 114 |
|
160 | | - runtime-macos: |
161 | | - name: Runtime smoke (macos) |
162 | | - if: | |
163 | | - github.event_name != 'workflow_dispatch' || |
164 | | - (inputs.include_macos && (inputs.scope == 'runtime' || inputs.scope == 'full')) |
165 | | - runs-on: macos-latest |
166 | | - timeout-minutes: 40 |
167 | | - env: |
168 | | - CODEX_HOME: /tmp/rldyour-codex-home |
169 | | - RLDYOUR_MCP_CAPABILITY_LIST_ONLY: "1" |
170 | | - RLDYOUR_MCP_CAPABILITY_ALLOW_MISSING_ENV: "1" |
171 | | - RLDYOUR_SKIP_LSP_HEALTH: "1" |
172 | | - steps: |
173 | | - - name: Checkout |
174 | | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
175 | | - |
176 | | - - name: Set up validation runtime |
177 | | - uses: ./.github/actions/setup-codex-runtime |
178 | | - |
179 | | - - name: Run runtime validation |
180 | | - run: scripts/validate_runtime.sh --codex-home "$CODEX_HOME" --strict-runtime |
181 | | - |
182 | | - - name: Write validation summary |
183 | | - if: success() |
184 | | - run: | |
185 | | - { |
186 | | - echo "## rldyour Codex validation" |
187 | | - echo "- OS: ${RUNNER_OS}" |
188 | | - echo "- Ref: ${GITHUB_REF}" |
189 | | - echo "- SHA: ${GITHUB_SHA}" |
190 | | - echo "- Checks: installer, quick strict doctor, Codex hooks/list trust smoke, hook smoke, fullrepo sync smoke" |
191 | | - } >> "$GITHUB_STEP_SUMMARY" |
192 | | -
|
193 | | - - name: Collect diagnostics |
194 | | - if: failure() |
195 | | - run: scripts/collect_diagnostics.sh --output diagnostics/ci |
196 | | - |
197 | | - - name: Upload diagnostics |
198 | | - if: failure() |
199 | | - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
200 | | - with: |
201 | | - name: diagnostics-macos |
202 | | - path: diagnostics/ci |
203 | | - retention-days: 14 |
204 | | - |
205 | 115 | release: |
206 | 116 | name: Release dry-run |
207 | 117 | if: | |
|
0 commit comments