Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## develop #325 +/- ##
=======================================
Coverage 90.3% 90.3%
=======================================
Files 6 6
Lines 732 732
Branches 141 141
=======================================
Hits 661 661
Misses 71 71
🚀 New features to boost your workflow:
|
|
The coverage is concerning. It probably dropped because the constants header is not taken from the include directory in the device implementation anymore. However, I do not see how to fix it. In particular, the very same header should still be used by the driver directly. |
burgholzer
left a comment
There was a problem hiding this comment.
I would assume that the template itself also needs an update, but you are probably covering this in #326 (have not checked so far).
If this is supposed to go into a 1.2.2 release of QDMI, this change also needs to be back ported to the v1.2.x branch.
If this should, instead, constitute a v1.3.0 release, no back port is necessary.
(Note that we do not currently have mergifyio set up like in mqt-core, which would make this a bit easier).
burgholzer
left a comment
There was a problem hiding this comment.
Ah, the reason coverage is missing is because the QDMI library is no longer linked to the example device so the respective coverage settings are no longer propagated to the target. This needs to be fixed.
|
@burgholzer I adopted the cmake config quite a bit to enable coverage for devices. Kindly have a look, whether this is all fine. |
|
Description
Only two of the three headers necessary for the device interface are prefixed. The
constants.his not. However, only due to this fact, every device depends on an available QDMI installation. This PR also adds theconstants.hheader to the files that are copied into the include directory of the device.Checklist:
removals.