It would be nice to test if MC at least starts and loads world correctly with your changes. There is a libs which allow integration tests.
The proposition is as follows:
Add MinecraftJUnit library as a default dependency to the mod dependencies list (or any better lib with similar functionality)
Implement smoke tests which check if server starts up correctly and world is able to load
Add CI workflow which runs said tests.
Add junit report collection to workflow (junit should output a xml report in build), you could use action-junit-report for this (chosen arbitrary as a first link in the search)
It would be nice to test if MC at least starts and loads world correctly with your changes. There is a libs which allow integration tests.
The proposition is as follows: