|
19 | 19 | script: [ |
20 | 20 | 'scripts/did/did_pa_atte_coverage.py', |
21 | 21 | 'scripts/did/did_cs_atte_coverage.py', |
| 22 | + 'scripts/did/did_pa_multi.py', |
22 | 23 | ] |
23 | 24 |
|
24 | 25 | steps: |
@@ -48,28 +49,37 @@ jobs: |
48 | 49 | with: |
49 | 50 | ref: ${{ env.TARGET_BRANCH }} |
50 | 51 |
|
| 52 | + - name: Install uv |
| 53 | + uses: astral-sh/setup-uv@v5 |
| 54 | + with: |
| 55 | + version: "0.6.11" |
| 56 | + |
51 | 57 | - name: Set up Python |
52 | 58 | uses: actions/setup-python@v5 |
53 | 59 | with: |
54 | | - python-version: '3.12' |
| 60 | + python-version-file: "monte-cover/pyproject.toml" |
55 | 61 |
|
56 | | - - name: Install dependencies |
| 62 | + - name: Install Monte-Cover |
57 | 63 | run: | |
58 | | - python -m pip install --upgrade pip |
59 | | - pip install -r requirements.txt |
| 64 | + cd monte-cover |
| 65 | + uv venv |
| 66 | + uv sync |
60 | 67 |
|
61 | 68 | - name: Install DoubleML from correct branch |
62 | 69 | run: | |
63 | | - pip uninstall -y doubleml |
64 | | - pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}" |
| 70 | + source monte-cover/.venv/bin/activate |
| 71 | + uv pip uninstall doubleml |
| 72 | + uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}" |
65 | 73 |
|
66 | 74 | - name: Set up Git configuration |
67 | 75 | run: | |
68 | 76 | git config --global user.name 'github-actions' |
69 | 77 | git config --global user.email 'github-actions@github.com' |
70 | 78 |
|
71 | 79 | - name: Run scripts |
72 | | - run: python ${{ matrix.script }} |
| 80 | + run: | |
| 81 | + source monte-cover/.venv/bin/activate |
| 82 | + uv run ${{ matrix.script }} |
73 | 83 |
|
74 | 84 | - name: Commit any existing changes |
75 | 85 | run: | |
|
0 commit comments