diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 97cd6f26d..4a289add1 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + path: edm4hep - uses: actions/checkout@v4 with: repository: AIDASoft/podio @@ -29,10 +31,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