diff --git a/tasks/pybuild/task.yaml b/tasks/pybuild/task.yaml index 3b5811d..19b39ec 100644 --- a/tasks/pybuild/task.yaml +++ b/tasks/pybuild/task.yaml @@ -78,7 +78,7 @@ spec: poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS" poetry lock --no-cache --regenerate - poetry install --no-root + poetry install echo "📦 Building package with Poetry..." poetry build diff --git a/tasks/pylint/task.yaml b/tasks/pylint/task.yaml index 72c57de..2469e71 100644 --- a/tasks/pylint/task.yaml +++ b/tasks/pylint/task.yaml @@ -79,7 +79,7 @@ spec: poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS" poetry lock --no-cache --regenerate - poetry install --no-root + poetry install poetry add pylint --group dev elif [ -f requirements.txt ]; then echo "[INFO] Pip project detected" diff --git a/tasks/pytest/task.yaml b/tasks/pytest/task.yaml index 9a47af1..1662bb6 100644 --- a/tasks/pytest/task.yaml +++ b/tasks/pytest/task.yaml @@ -76,7 +76,7 @@ spec: poetry config http-basic."$REPO_NAME" "$PYPI_USER" "$PYPI_PASS" poetry lock --no-cache --regenerate - poetry install --no-root + poetry install elif [ -f requirements.txt ]; then echo "[INFO] Using pip to install dependencies" pip install -r requirements.txt --root-user-action=ignore