Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add full chain test #1247

Merged
merged 19 commits into from
May 11, 2022
4 changes: 3 additions & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ jobs:
-DACTS_BUILD_EVERYTHING=ON
-DACTS_BUILD_EXAMPLES_PYTHON_BINDINGS=ON
-DACTS_FORCE_ASSERTIONS=ON
-DACTS_BUILD_ANALYSIS_APPS=ON

- name: Build
run: cmake --build build --
Expand Down Expand Up @@ -227,13 +228,14 @@ jobs:
run: >
echo "::group::Dependencies"
&& git config --global safe.directory "$GITHUB_WORKSPACE"
&& pip3 install histcmp==0.4.0
&& pip3 install histcmp==0.4.1
&& /usr/local/bin/download_geant4_data.sh
&& source /usr/local/bin/thisroot.sh
&& source /usr/local/bin/thisdd4hep_only.sh
&& source /usr/local/bin/geant4.sh
&& source build/python/setup.sh
&& echo "::endgroup::"
&& export PYTHONPATH="${PYTHONPATH}":"${GITHUB_WORKSPACE}/Examples/Scripts/Python"
&& CI/physmon/phys_perf_mon.sh physmon

- uses: actions/upload-artifact@v3
Expand Down
20 changes: 20 additions & 0 deletions CI/physmon/phys_perf_mon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,25 @@ run \
-p $outdir/truth_tracking_plots \


echo "::group::full_chain_odd"

thirdparty/OpenDataDetector/ci/full_chain_odd.py -o $outdir

build/bin/ActsAnalysisResidualsAndPulls \
--predicted --filtered --smoothed --silent \
-i $outdir/trackstates_ckf.root \
-o $outdir/acts_analysis_residuals_and_pulls.root \

histcmp \
andiwand marked this conversation as resolved.
Show resolved Hide resolved
--title "full_chain_odd" \
--label-reference=$refcommit \
--label-monitored=$commit \
$outdir/acts_analysis_residuals_and_pulls.root \
CI/physmon/reference/acts_analysis_residuals_and_pulls.root \
andiwand marked this conversation as resolved.
Show resolved Hide resolved

ec=$(($ec | $?))

echo "::endgroup::"


exit $ec
Binary file not shown.