install xx deps with XX env (#26205)

old-commit-hash: db6c9b9d45
This commit is contained in:
Cameron Clough
2022-10-21 23:09:24 -07:00
committed by GitHub
parent 21bcfad5a7
commit 9cd3c53e6d
+1 -1
View File
@@ -46,7 +46,7 @@ pip install poetry==1.2.2
poetry config virtualenvs.prefer-active-python true --local
POETRY_INSTALL_ARGS=""
if [ -d "./xx" ]; then
if [ -d "./xx" ] || [ -n "$XX" ]; then
echo "WARNING: using xx dependency group, installing globally"
poetry config virtualenvs.create false --local
POETRY_INSTALL_ARGS="--with xx --sync"