File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments