Skip to content

attempt reco and ana #16

attempt reco and ana

attempt reco and ana #16

on:
push:
branches:
- 'self-hosted-test'
jobs:
testing:
runs-on: self-hosted
container:
image: registry.cern.ch/ship/gha-runner:latest
volumes:
- /cvmfs/ship.cern.ch:/cvmfs/ship.cern.ch
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Source and Build
run: |
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: |
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: |
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
- name: Run Ana
run: |
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
- name: List files
run: |
pwd
ls -lrth
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: root-files
path: |
*.root