Skip to content

Commit e3b58ab

Browse files
committed
Use verbose pip install when debugging workflows
Signed-off-by: Keith Battocchi <[email protected]>
1 parent f4b1fd0 commit e3b58ab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ jobs:
124124
- run: sudo apt-get -yq install graphviz
125125
name: Install graphviz
126126
if: ${{ matrix.install_graphviz }}
127-
- run: pip install -e .${{ matrix.extras }}
127+
# Add verbose flag to pip installation if in debug mode
128+
- run: pip install -e .${{ matrix.extras }} ${{ fromJSON('["","-v"]')[runner.debug] }}
128129
name: Install econml
129130
- run: pip install pytest pytest-runner jupyter jupyter-client nbconvert nbformat seaborn xgboost tqdm
130131
name: Install test and notebook requirements
@@ -183,7 +184,8 @@ jobs:
183184
python-version: ${{ matrix.python-version }}
184185
- run: python -m pip install --upgrade pip && pip install --upgrade setuptools
185186
name: Ensure latest pip and setuptools
186-
- run: pip install -e .${{ matrix.extras }}
187+
# Add verbose flag to pip installation if in debug mode
188+
- run: pip install -e .${{ matrix.extras }} ${{ fromJSON('["","-v"]')[runner.debug] }}
187189
name: Install econml
188190
- run: pip install pytest pytest-runner coverage
189191
name: Install pytest

0 commit comments

Comments
 (0)