Skip to content

Conversation

@RobPasMue
Copy link
Member

Resolves #270

@RobPasMue RobPasMue self-assigned this Apr 7, 2022
@RobPasMue RobPasMue changed the title Feat/coverage upload Uploading coverage results as part of CI Apr 7, 2022
@RobPasMue
Copy link
Member Author

Coverage report is now generated in HTML format and uploaded as an artifact to the GitHub Actions workflow, as it can be seen in the following screenshot.

image

Once the project goes public and it makes use of codecov.io, we will be capable of including the corresponding badge in the README.rst file (other solutions imply committing a new README file in each workflow action where the coverage badge would be updated. Though it is possible, it is not a recommended solution - auto updates of files can lead to an enormous amount of useless commits).

If you download the file, now you can access the line-by-line coverage and a summary of the results. I have also excluded those files configured in the .coveragerc of the project (which was apparently not being used). Find below some examples of the outcoming HTML coverage report:

image

image

Please feel free to add any suggestions :)

@RobPasMue RobPasMue marked this pull request as ready for review April 7, 2022 07:13
@RobPasMue RobPasMue merged commit 9ddfd31 into main Apr 8, 2022
@RobPasMue RobPasMue deleted the feat/coverage-upload branch April 8, 2022 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uploading coverage results as part of CI

4 participants