File tree 2 files changed +18
-9
lines changed
2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 68
68
- name : Install DoubleML from correct branch
69
69
run : |
70
70
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 }}"
73
73
74
74
- name : Set up Git configuration
75
75
run : |
Original file line number Diff line number Diff line change @@ -50,28 +50,37 @@ jobs:
50
50
with :
51
51
ref : ${{ env.TARGET_BRANCH }}
52
52
53
+ - name : Install uv
54
+ uses : astral-sh/setup-uv@v5
55
+ with :
56
+ version : " 0.6.11"
57
+
53
58
- name : Set up Python
54
59
uses : actions/setup-python@v5
55
60
with :
56
- python-version : ' 3.12 '
61
+ python-version-file : " monte-cover/pyproject.toml "
57
62
58
- - name : Install dependencies
63
+ - name : Install Monte-Cover
59
64
run : |
60
- python -m pip install --upgrade pip
61
- pip install -r requirements.txt
65
+ cd monte-cover
66
+ uv venv
67
+ uv sync
62
68
63
69
- name : Install DoubleML from correct branch
64
70
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 }}"
67
74
68
75
- name : Set up Git configuration
69
76
run : |
70
77
git config --global user.name 'github-actions'
71
78
git config --global user.email '[email protected] '
72
79
73
80
- name : Run scripts
74
- run : python ${{ matrix.script }}
81
+ run : |
82
+ source monte-cover/.venv/bin/activate
83
+ uv run ${{ matrix.script }}
75
84
76
85
- name : Commit any existing changes
77
86
run : |
You can’t perform that action at this time.
0 commit comments