From d1459727b538f6426d62d54cf48a1654faef0d48 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Mon, 9 Sep 2024 14:04:56 +0200 Subject: [PATCH] Build EDM4hep in a dedicated directory --- .github/workflows/pre-commit.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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