From 54e1acd82ff54b1452b537355ec99d14343c3092 Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Fri, 26 Jul 2024 11:55:30 +0200 Subject: [PATCH] Replace poetry install with pip install it seems to fail for certain python package such as numpy --- .github/workflows/node-hub-ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 2a6b03fa..d55ccbb0 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -40,7 +40,7 @@ jobs: if [ -d "$dir" ]; then if [ -f "$dir/pyproject.toml" ]; then echo "Running linting and tests for Python project in $dir..." - (cd "$dir" && poetry install) + (cd "$dir" && pip install .) (cd "$dir" && poetry run black --check .) (cd "$dir" && poetry run pylint --disable=C,R --ignored-modules=cv2 **/*.py) (cd "$dir" && poetry run pytest)