Skip to content

Commit

Permalink
Final commit to event rates CI just to make it even more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
henry-wallace-phys authored Feb 3, 2025
1 parent f8e990e commit f1db3cf
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/EventRates.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Event Rates Beam

# To add additional run-time tests add (to matrix)
# - name: <your test>
# test_exe: /test/<your exe>
# test_config: path/to/tconfiguration
# repo_linking_command: ln -sf /path/to/files/ (usually CAFs + splines)


on:
pull_request:
branches: [develop]
Expand All @@ -15,10 +22,15 @@ jobs:
fail-fast: false
matrix:
include:
- name: Event Rate Validation
- name: Beam Event Rate Validation
test_exe: /test/TestEventRates
test_config: test/test_configs/EventRates_Beam_TEST.yaml

repo_linking_command: |
ln -s \
/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/MaCh3/inputs/TDR/v2/DUNE_2021_FD_splines inputs/DUNE_spline_files
ln -s \
/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/MaCh3/inputs/TDR/v2/DUNE_2023_FD_CAFs inputs/DUNE_CAF_files

name: Run Test ${{matrix.name}}
Expand Down Expand Up @@ -52,13 +64,7 @@ jobs:
shell: bash
options: -v /cvmfs:/cvmfs:shared
run: |
ln -s \
/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/MaCh3/inputs/TDR/v2/DUNE_2021_FD_splines inputs/DUNE_spline_files
ln -s \
/cvmfs/dune.osgstorage.org/pnfs/fnal.gov/usr/dune/persistent/stash/MaCh3/inputs/TDR/v2/DUNE_2023_FD_CAFs inputs/DUNE_CAF_files
${{matrix.repo_linking_command}}
source ./bin/setup.MaCh3.sh
source ./bin/setup.NuOscillator.sh
source ./bin/setup.MaCh3DUNE.sh
Expand Down

0 comments on commit f1db3cf

Please sign in to comment.