Skip to content

Make CI for analysis scripts

We need to make a CI that tests each analysis and overwrite config script. This will help us develop the package more efficiently without needing to perform all tests by hand. It should be somewhat similar to the CI we have implemented in the module-qc-tools package: https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-tools/-/ci/editor?branch_name=main

The tests should be run on the emulator reference files located in the module-qc-tools package: https://gitlab.cern.ch/atlas-itk/pixel/module/module-qc-tools/-/tree/main/emulator/outputs/. If the format of the measurement output files is updated, then these emulator files should be updated too and the CI in the analysis package should always point to the latest files in this directory. Right now the real timestamps are being used in this directory. In a future MR I will change to using some dummy timestamps which shouldn't change (that way the CI here won't be broken).

Here are the tests that should be performed in the CI:

analysis-ADC-CALIBRATION -i ADC_CALIBRATION_reference/1674067684/ --layer L2
analysis-ANALOG-READBACK -i ANALOG_READBACK_reference/1674069258/ --layer L2
analysis-VCAL-CALIBRATION -i VCAL_CALIBRATION_reference/1674068140/ --layer L2
analysis-SLDO -i SLDO_reference/1674670016/ --layer L2
analysis-INJECTION-CAPACITANCE -i INJECTION_CAPACITANCE_reference/ --layer L2

We will also need to test the update_chip_config.py in the CI, but first we need to set up the files which we can test on.