Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code coverage reports #495

Merged
merged 1 commit into from
Jul 30, 2021
Merged

Conversation

ionut-arm
Copy link
Member

This commit fixes our code coverage reports for Parsec. The issue was
found to be the use of the --release flag for running the
tarpaulin-instrumented service binary. This flag seems to make
tarpaulin lose track of code-to-instruction mapping and thus lose a
lot of code coverage data, maybe due to aliasing.

The --release flag was removed and the ci.sh script modified to
ensure builds continue to work.

Fixes #460

This commit fixes our code coverage reports for Parsec. The issue was
found to be the use of the `--release` flag for running the
tarpaulin-instrumented service binary. This flag seems to make
`tarpaulin` lose track of code-to-instruction mapping and thus lose a
lot of code coverage data, maybe due to aliasing.

The `--release` flag was removed and the `ci.sh` script modified to
ensure builds continue to work.

Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
@ionut-arm ionut-arm added the bug Something isn't working label Jul 30, 2021
@ionut-arm ionut-arm added this to the Parsec Release 0.8.0 milestone Jul 30, 2021
@ionut-arm ionut-arm requested a review from a team as a code owner July 30, 2021 13:09
@ionut-arm ionut-arm self-assigned this Jul 30, 2021
@ionut-arm ionut-arm merged commit 1287ba9 into parallaxsecond:main Jul 30, 2021
@ionut-arm ionut-arm deleted the fix-coverage branch July 30, 2021 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate the strange CodeCov reports
2 participants