Record coverage and test reports from Pytest in the packaging builds
This PR updates the CI for the Debian/RHEL packaging to record the coverage and test report from pytest run during the build (Debian/RHEL>=9) or just run pytest manually after the build (RHEL<9).