Browse Source

Replace poetry install with pip install

it seems to fail for certain python package such as numpy
tags/v0.3.6-rc0
haixuanTao 1 year ago
parent
commit
54e1acd82f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .github/workflows/node-hub-ci-cd.yml

+ 1
- 1
.github/workflows/node-hub-ci-cd.yml View File

@@ -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)


Loading…
Cancel
Save