diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 97cd6f26d..25b330470 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,6 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + path: edm4hep - uses: actions/checkout@v4 with: repository: AIDASoft/podio @@ -29,10 +30,7 @@ jobs: source init.sh && source env.sh echo "::endgroup::" echo "::group::Run pre-commit" - echo "==================================" - echo $CMAKE_PREFIX_PATH | tr ':' '\n' - echo "==================================" - cd $STARTDIR + cd $STARTDIR/edm4hep export PYTHONPATH=$(python -m site --user-site):$PYTHONPATH export PATH=/root/.local/bin:$PATH pip install argparse --user