Skip to content

Commit 7c797cb

Browse files
committed
Fix non-editable install
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
1 parent ca80d4d commit 7c797cb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,13 @@ jobs:
145145
- name: Install graphviz
146146
run: sudo apt-get -yq install graphviz
147147
if: ${{ matrix.install_graphviz }}
148-
# Add verbose flag to pip installation if in debug mode
149148
- name: Install econml
150-
run: uv pip install --system .${{ matrix.extras }} ${{ fromJSON('["","-v"]')[runner.debug] }} ${{ env.use_lkg && '-r lkg-notebook.txt' }}
149+
run: |
150+
uv pip install --system build
151+
python -m build --installer uv .
152+
package=$(ls dist/*.whl)
153+
echo "package=$package"
154+
uv pip install --system ./dist/$package${{ matrix.extras }} ${{ fromJSON('["","-v"]')[runner.debug] }} ${{ env.use_lkg && '-r lkg-notebook.txt' }}
151155
# Install notebook requirements (if not already done as part of lkg)
152156
- name: Install notebook requirements
153157
run: uv pip install --system jupyter jupyter-client nbconvert nbformat seaborn xgboost tqdm

0 commit comments

Comments
 (0)