diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd9d6a4..54c9561 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: - uses: eic/run-cvmfs-osg-eic-shell@main with: platform-release: "jug_xl:nightly" - setup: /opt/detector/setup.sh + setup: /opt/detector/epic-main/bin/thisepic.sh run: | test "$(scripts/generate.sh)" = "e-_1GeV_45to135deg.steer" scripts/generate.sh && test -f e-_1GeV_45to135deg.steer @@ -40,7 +40,7 @@ jobs: - uses: eic/run-cvmfs-osg-eic-shell@main with: platform-release: "jug_xl:nightly" - setup: /opt/detector/setup.sh + setup: /opt/detector/epic-main/bin/thisepic.sh run: | scripts/run.sh EVGEN/SINGLE/e-/1GeV/45to135deg/e-_1GeV_45to135deg.steer 100 @@ -53,6 +53,6 @@ jobs: - uses: eic/run-cvmfs-osg-eic-shell@main with: platform-release: "jug_xl:nightly" - setup: /opt/detector/setup.sh + setup: /opt/detector/epic-main/bin/thisepic.sh run: | scripts/run.sh EVGEN/SINGLE/pi+/1GeV/3to50deg/pi+_1GeV_3to50deg.steer 100 0001 diff --git a/scripts/run.sh b/scripts/run.sh index 8b9807a..b98282b 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -37,7 +37,7 @@ test -f .machine.ad && cat .machine.ad # Load container environment (include ${DETECTOR_VERSION}) export DETECTOR_CONFIG_REQUESTED=${DETECTOR_CONFIG:-} -source /opt/detector/epic-${DETECTOR_VERSION:-nightly}/setup.sh +source /opt/detector/epic-${DETECTOR_VERSION:-nightly}/bin/thisepic.sh export DETECTOR_CONFIG=${DETECTOR_CONFIG_REQUESTED:-${DETECTOR_CONFIG:-$DETECTOR}} # Argument parsing