diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 4e2784bff..2f4e3bdda 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -28,6 +28,7 @@ jobs: pip install pre-commit pip install pylint==2.17.7 pip install flake8 + export PYTHONPATH=$VIRTUAL_ENV/lib/python3.$(python3 -c 'import sys; print(f"{sys.version_info[1]}")')/site-packages:$PYTHONPATH echo "::endgroup::" echo "::group::Run CMake" mkdir build