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

Middleware and Firmware code coverage #164

Merged
merged 10 commits into from
Dec 13, 2023
Merged

Conversation

amendelzon
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@italo-sampaio italo-sampaio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! GTG

@amendelzon amendelzon force-pushed the enhancement/code-coverage branch from 21588fe to 5aa4544 Compare December 13, 2023 19:22
- Added python coverage package
- Added coverage report generation script
- Added coverage workflow that publishes an artifact with the coverage report (this is to be improved)
- Instrumented firmware unit tests and tcpsigner tests to run with optional coverage
- Added lcov to middleware docker image (used to also run firmware tests)
- Added firmware code coverage generation script
- TCPSigner now catches termination signals so that it can write gcda files when compiled with coverage
- Code coverage github workflow is now a single one for both middleware and firmware
@amendelzon amendelzon force-pushed the enhancement/code-coverage branch from 5aa4544 to d715eea Compare December 13, 2023 20:17
@amendelzon amendelzon merged commit e1dee5d into master Dec 13, 2023
6 checks passed
@amendelzon amendelzon deleted the enhancement/code-coverage branch December 13, 2023 20:52
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.

2 participants