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 1717 strategy :
1818 matrix :
1919 script : [
20- ' scripts/plm/pliv_late_coverage .py' ,
20+ ' scripts/plm/pliv_late .py' ,
2121 ]
2222
2323 steps :
@@ -47,28 +47,37 @@ jobs:
4747 with :
4848 ref : ${{ env.TARGET_BRANCH }}
4949
50+ - name : Install uv
51+ uses : astral-sh/setup-uv@v5
52+ with :
53+ version : " 0.7.8"
54+
5055 - name : Set up Python
5156 uses : actions/setup-python@v5
5257 with :
53- python-version : ' 3.12 '
58+ python-version-file : " monte-cover/pyproject.toml "
5459
55- - name : Install dependencies
60+ - name : Install Monte-Cover
5661 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+
6066 - name : Install DoubleML from correct branch
6167 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 }}"
6471
6572 - name : Set up Git configuration
6673 run : |
6774 git config --global user.name 'github-actions'
6875 git config --global user.email '[email protected] ' 6976
7077 - name : Run scripts
71- run : python ${{ matrix.script }}
78+ run : |
79+ source monte-cover/.venv/bin/activate
80+ uv run ${{ matrix.script }}
7281
7382 - name : Commit any existing changes
7483 run : |
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
1717 strategy :
1818 matrix :
1919 script : [
20- ' scripts/plm/plr_ate_coverage .py' ,
20+ ' scripts/plm/plr_ate .py' ,
2121 ' 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' ,
2424 ]
2525
2626 steps :
5353 - name : Install uv
5454 uses : astral-sh/setup-uv@v5
5555 with :
56- version : " 0.6.11 "
56+ version : " 0.7.8 "
5757
5858 - name : Set up Python
5959 uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments