File tree Expand file tree Collapse file tree 2 files changed +22
-13
lines changed Expand file tree Collapse file tree 2 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 17
17
strategy :
18
18
matrix :
19
19
script : [
20
- ' scripts/plm/pliv_late_coverage .py' ,
20
+ ' scripts/plm/pliv_late .py' ,
21
21
]
22
22
23
23
steps :
@@ -47,28 +47,37 @@ jobs:
47
47
with :
48
48
ref : ${{ env.TARGET_BRANCH }}
49
49
50
+ - name : Install uv
51
+ uses : astral-sh/setup-uv@v5
52
+ with :
53
+ version : " 0.7.8"
54
+
50
55
- name : Set up Python
51
56
uses : actions/setup-python@v5
52
57
with :
53
- python-version : ' 3.12 '
58
+ python-version-file : " monte-cover/pyproject.toml "
54
59
55
- - name : Install dependencies
60
+ - name : Install Monte-Cover
56
61
run : |
57
- python -m pip install --upgrade pip
58
- pip install -r requirements.txt
59
-
62
+ cd monte-cover
63
+ uv venv
64
+ uv sync
65
+
60
66
- name : Install DoubleML from correct branch
61
67
run : |
62
- pip uninstall -y doubleml
63
- pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
68
+ source monte-cover/.venv/bin/activate
69
+ uv pip uninstall doubleml
70
+ uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
64
71
65
72
- name : Set up Git configuration
66
73
run : |
67
74
git config --global user.name 'github-actions'
68
75
git config --global user.email 'github-actions@github.com'
69
76
70
77
- name : Run scripts
71
- run : python ${{ matrix.script }}
78
+ run : |
79
+ source monte-cover/.venv/bin/activate
80
+ uv run ${{ matrix.script }}
72
81
73
82
- name : Commit any existing changes
74
83
run : |
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
17
17
strategy :
18
18
matrix :
19
19
script : [
20
- ' scripts/plm/plr_ate_coverage .py' ,
20
+ ' scripts/plm/plr_ate .py' ,
21
21
' scripts/plm/plr_ate_sensitivity.py' ,
22
- ' scripts/plm/plr_cate_coverage .py' ,
23
- ' scripts/plm/plr_gate_coverage .py' ,
22
+ ' scripts/plm/plr_cate .py' ,
23
+ ' scripts/plm/plr_gate .py' ,
24
24
]
25
25
26
26
steps :
53
53
- name : Install uv
54
54
uses : astral-sh/setup-uv@v5
55
55
with :
56
- version : " 0.6.11 "
56
+ version : " 0.7.8 "
57
57
58
58
- name : Set up Python
59
59
uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments