Skip to content

Commit c607b34

Browse files
committed
update did and plr workflows
1 parent 98bc35b commit c607b34

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

.github/workflows/did_sim.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
- name: Install DoubleML from correct branch
6969
run: |
7070
source monte-cover/.venv/bin/activate
71-
uv pip uninstall --project monte-cover/pyproject.toml doubleml
72-
uv pip install --project monte-cover/pyproject.toml "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
71+
uv pip uninstall doubleml
72+
uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
7373
7474
- name: Set up Git configuration
7575
run: |

.github/workflows/plr_sim.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,37 @@ jobs:
5050
with:
5151
ref: ${{ env.TARGET_BRANCH }}
5252

53+
- name: Install uv
54+
uses: astral-sh/setup-uv@v5
55+
with:
56+
version: "0.6.11"
57+
5358
- name: Set up Python
5459
uses: actions/setup-python@v5
5560
with:
56-
python-version: '3.12'
61+
python-version-file: "monte-cover/pyproject.toml"
5762

58-
- name: Install dependencies
63+
- name: Install Monte-Cover
5964
run: |
60-
python -m pip install --upgrade pip
61-
pip install -r requirements.txt
65+
cd monte-cover
66+
uv venv
67+
uv sync
6268
6369
- name: Install DoubleML from correct branch
6470
run: |
65-
pip uninstall -y doubleml
66-
pip install git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}
71+
source monte-cover/.venv/bin/activate
72+
uv pip uninstall doubleml
73+
uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
6774
6875
- name: Set up Git configuration
6976
run: |
7077
git config --global user.name 'github-actions'
7178
git config --global user.email '[email protected]'
7279
7380
- name: Run scripts
74-
run: python ${{ matrix.script }}
81+
run: |
82+
source monte-cover/.venv/bin/activate
83+
uv run ${{ matrix.script }}
7584
7685
- name: Commit any existing changes
7786
run: |

0 commit comments

Comments
 (0)