impactx
impactx copied to clipboard
[WIP] Dashboard: Add unit test
The test of the dashboard requires the following:
- seleniumbase python library
A note on how I have to setup my environment to run the dashboard properly:
- I use
pip install .within the ImpactX source directory to install it into the Python environment as a package. This enables imports such asfrom impactx.distribution import distribution_helper_twissindashboard/Inputs/distribution/distributionMain.pyandfrom impactx.impactx_pybind import ImpactX, RefPartindashboard/Inputs/defaults.py.
I’ve noticed that running this within the CI significantly increases execution time and often fails on most GitHub Actions runners. The only environment where it consistently passes is macOS
TODO:
- [ ] Fix CI to run dashboard test