-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflow to test production run script
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |