Skip to content

Commit 68ecace

Browse files
ci: stage PR126 hosted contract followup
1 parent 0205204 commit 68ecace

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: PR126 Hosted Contract Followup
2+
3+
on:
4+
push:
5+
branches:
6+
- agent/panel-p1-stage-c-covariance
7+
paths:
8+
- '.github/workflows/pr126-hosted-contract-followup.yml'
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
followup:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 20
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
ref: agent/panel-p1-stage-c-covariance
21+
fetch-depth: 0
22+
- uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.11'
25+
- name: Apply maintained contract followup
26+
run: python dev/pr126_hosted_contract_followup.py
27+
- name: Install focused validation environment
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install "numpy<2" pytest pandas patsy
31+
python -m pip install -e .
32+
- name: Run hosted-failure regressions
33+
run: |
34+
python -m pytest \
35+
dev/tests/test_module_review_covariance_panel.py \
36+
dev/tests/test_panel_stage_c_rank_deficient_matrix.py \
37+
dev/tests/test_panel_stage_c_inference_guard.py \
38+
-q --tb=short
39+
python dev/validation/check_docs_contracts.py
40+
python dev/validation/fix_docs_links.py --check
41+
git diff --check
42+
- name: Commit validated followup
43+
run: |
44+
rm dev/pr126_hosted_contract_followup.py
45+
rm .github/workflows/pr126-hosted-contract-followup.yml
46+
git config user.name "chatgpt-codex-connector"
47+
git config user.email "1144995+chatgpt-codex-connector[bot]@users.noreply.github.com"
48+
git add dev/tests/test_module_review_covariance_panel.py docs/en/models/panel.md docs/cn/models/panel.md
49+
git add -u dev/pr126_hosted_contract_followup.py .github/workflows/pr126-hosted-contract-followup.yml
50+
git commit -m "test: align panel rank-deficient hosted contracts"
51+
git push origin HEAD:agent/panel-p1-stage-c-covariance

0 commit comments

Comments
 (0)