-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (49 loc) · 1.62 KB
/
run_prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Test running script for production
on:
push:
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-and-run:
# Note: this workflow must run on linux
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: eic/run-cvmfs-osg-eic-shell@main
env:
X509_PROXY: ${{ secrets.X509_PROXY }}
with:
platform-release: "eic_xl:nightly"
run: |
eic-info
# Generate a timestamp
timestamp=$(date '+%Y-%m-%d_%H-%M-%S')
# Set certificate
echo "${X509_PROXY}" > x509_user_proxy
export X509_USER_PROXY=x509_user_proxy
# Test running hepmc3 file
DETECTOR_CONFIG="epic_craterlake" \
DETECTOR_VERSION="main" \
TAG_PREFIX="CI/${timestamp}" \
TAG_SUFFIX="CI_${timestamp}" \
COPYRECO=true \
COPYLOG=false \
USERUCIO=true \
scripts/run.sh 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" \
TAG_PREFIX="CI/${timestamp}" \
TAG_SUFFIX="CI_${timestamp}" \
COPYRECO=true \
COPYLOG=false \
USERUCIO=true \
scripts/run.sh EVGEN/SINGLE/e+/100MeV/130to177deg/e+_100MeV_130to177deg steer 10