Skip to content

Commit b08c102

Browse files
committed
install one at a time
1 parent e39d2cd commit b08c102

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test_branches.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,8 @@ jobs:
346346
conda list --show-channel-urls
347347
which python
348348
python --version
349-
pip debug
350349
# We need setuptools so we can run Pyomo's setup.py
351350
conda install setuptools
352-
pip debug
353351
# Note: some pypi packages are not available through conda
354352
PYOMO_DEPENDENCIES=`python setup.py dependencies \
355353
--extras "$EXTRAS" | tail -1`
@@ -382,6 +380,11 @@ jobs:
382380
fi
383381
# Note: this will fail the build if any installation fails (or
384382
# possibly if it outputs messages to stderr)
383+
for DEP in $CONDA_DEPENDENCIES; do
384+
echo "Installing $DEP..."
385+
conda install --update-deps -q -y python="${{matrix.python}}" $DEP
386+
pip debug
387+
done
385388
conda install --update-deps -q -y python="${{matrix.python}}" $CONDA_DEPENDENCIES
386389
if test -z "${{matrix.slim}}"; then
387390
# xpress.init() (xpress 9.5.1 from conda) hangs indefinitely

0 commit comments

Comments
 (0)