Recompile ui-files as part of CI
It may make sense to recompile the ui-files in a separate test run (or as part of the regular testing) to check that the results are consistent with the checked in version. In this way, it will not be possible to change in the generated file and then accidentally overwrite it by recompiling.