Skip to content

Commit 6c06f66

Browse files
ci: add Panel Stage C external covariance gate
1 parent f119650 commit 6c06f66

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Panel Stage C external covariance
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
paths:
7+
- 'statgpu/panel/**'
8+
- 'dev/tests/test_panel_stage_c_external.py'
9+
- '.github/workflows/panel-stage-c-external.yml'
10+
push:
11+
branches: [master]
12+
paths:
13+
- 'statgpu/panel/**'
14+
- 'dev/tests/test_panel_stage_c_external.py'
15+
- '.github/workflows/panel-stage-c-external.yml'
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
external-definitions:
22+
runs-on: ubuntu-latest
23+
timeout-minutes: 15
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-python@v5
27+
with:
28+
python-version: '3.11'
29+
- name: Install pinned references
30+
run: |
31+
python -m pip install --upgrade pip
32+
python -m pip install -e . 'linearmodels==7.0' 'statsmodels==0.14.6' pytest
33+
- name: Confirm reference versions
34+
run: |
35+
python - <<'PY'
36+
import linearmodels, statsmodels
37+
assert linearmodels.__version__ == '7.0'
38+
assert statsmodels.__version__ == '0.14.6'
39+
print('linearmodels', linearmodels.__version__)
40+
print('statsmodels', statsmodels.__version__)
41+
PY
42+
- name: Run Stage C external covariance alignment
43+
run: python -m pytest dev/tests/test_panel_stage_c_external.py -q --tb=short

0 commit comments

Comments
 (0)