Skip to content

Commit

Permalink
Create run_prod.yml
Browse files Browse the repository at this point in the history
Workflow to test production run script
  • Loading branch information
rahmans1 authored Dec 18, 2024
1 parent 121090d commit 3482fd4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/run_prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test running script for production

on:
push:
branches: [ "feature-merge-hepmc3-and-singles-submission" ]
pull_request:
branches: [ "main" ]

jobs:
build-and-run:
# Note: this workflow must run on linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
with:
cvmfs_repositories: 'singularity.opensciencegrid.org'
- uses: eic/run-cvmfs-osg-eic-shell@main
with:
release-platform: "jug_xl:nightly"
run: |
eic-info
# Test running hepmc3 file
DETECTOR_CONFIG="epic_craterlake" \
DETECTOR_VERSION="main" \
COPYRECO=FALSE \
COPYLOG=FALSE \
/opt/campaigns/hepmc3/run.sh /work/eic2/EPIC/EVGEN/DIS/NC/18x275/minQ2=1/pythia8NCDIS_18x275_minQ2=1_beamEffects_xAngle=-0.025_hiDiv_1 hepmc3.tree.root 10
# Test running singles file
DETECTOR_CONFIG="epic_craterlake" \
DETECTOR_VERSION="main" \
COPYRECO=FALSE \
COPYLOG=FALSE \
/opt/campaigns/hepmc3/run.sh /work/eic2/EPIC/EVGEN/SINGLE/e+/100MeV/130to177deg/e+_100MeV_130to177deg steer 10

0 comments on commit 3482fd4

Please sign in to comment.