To minify the amp scripts, we are using Peast as an optional package dependency. So the code related to minify the script is being ignored from the coverage report. This could be handled by a new GitHub action that include Peast before we generate the coverage report.
Related to #281 (comment)