Make code coverage reporting optional
Description
When tests are run with --no-cov, we used to get an error since the .coverage
file was absent when running the test report.
This makes the reporting allowed to fail so we don't get this error anymore
Changes proposed in this merge request:
- Allow reporting to fail to allow running tests without coverage