impactx icon indicating copy to clipboard operation
impactx copied to clipboard

[WIP] Dashboard: Add unit test

Open proy30 opened this issue 8 months ago • 0 comments

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 as from impactx.distribution import distribution_helper_twiss in dashboard/Inputs/distribution/distributionMain.py and from impactx.impactx_pybind import ImpactX, RefPart in dashboard/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

proy30 avatar Apr 27 '25 23:04 proy30