Skip to content

Commit

Permalink
check curr folder by step
Browse files Browse the repository at this point in the history
  • Loading branch information
egamberini authored Nov 20, 2024
1 parent a9fc438 commit 3fc1ffa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/self-hosted-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,45 @@ on:
jobs:
testing:
runs-on: self-hosted
defaults:
run:
working-directory: /
# defaults:
# run:
# working-directory: /

container:
image: registry.cern.ch/ship/gha-runner:latest
volumes:
- /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
continue-on-error: true

- 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
Expand Down

0 comments on commit 3fc1ffa

Please sign in to comment.