From 3fc1ffaf32c60096448804b737f6304b27a196d9 Mon Sep 17 00:00:00 2001 From: Enrico Gamberini Date: Wed, 20 Nov 2024 14:31:52 +0100 Subject: [PATCH] check curr folder by step --- .github/workflows/self-hosted-test.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/self-hosted-test.yml b/.github/workflows/self-hosted-test.yml index 602f4da74..8f6df0d43 100644 --- a/.github/workflows/self-hosted-test.yml +++ b/.github/workflows/self-hosted-test.yml @@ -6,9 +6,9 @@ on: jobs: testing: runs-on: self-hosted - defaults: - run: - working-directory: / + # defaults: + # run: + # working-directory: / container: image: registry.cern.ch/ship/gha-runner:latest @@ -16,22 +16,27 @@ jobs: - /cvmfs/ship.cern.ch:/cvmfs/ship.cern.ch steps: + - name: PWD + run: pwd - name: Checkout uses: actions/checkout@v4 - name: Source and Build run: | + pwd source /cvmfs/ship.cern.ch/24.10/setUp.sh aliBuild build FairShip --always-prefer-system --config-dir $SHIPDIST --defaults release --jobs 4 - name: Run Sim run: | + pwd source /cvmfs/ship.cern.ch/24.10/setUp.sh eval `alienv load FairShip/latest` python $FAIRSHIP/macro/run_simScript.py --test - name: Run Reco run: | + pwd source /cvmfs/ship.cern.ch/24.10/setUp.sh eval `alienv load FairShip/latest` python $FAIRSHIP/macro/ShipReco.py -f ship.conical.Pythia8-TGeant4.root -g geofile_full.conical.Pythia8-TGeant4.root @@ -39,6 +44,7 @@ jobs: - name: Run Ana run: | + pwd source /cvmfs/ship.cern.ch/24.10/setUp.sh eval `alienv load FairShip/latest` python -i $FAIRSHIP/macro/ShipAna.py -f ship.conical.Pythia8-TGeant4_rec.root -g geofile_full.conical.Pythia8-TGeant4.root