-
Notifications
You must be signed in to change notification settings - Fork 2
make generic and support mechanical #27
Conversation
for more information, see https://pre-commit.ci
…-tools-path into support-mechanical
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
We shall see how these changes affect also PyMAPDL since it has already implemented ansys-tools-path. Before finally merging this, I will check locally. Then I will finally approve.
So please, let me know when this is ready to merge and I will check locally.
==EDIT==
My previous comment makes me wonder if we should implement something on the CICD which tests against PyMAPDL. mmmhh.. Maybe not, because it should be PyMAPDL who adapts to this package and not the opposite.
Co-authored-by: German <28149841+germa89@users.noreply.github.com>
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…-tools-path into support-mechanical
…-tools-path into support-mechanical
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked locally and with my new commit we should be fine.
But many of the tests fail on a machine that does not have ansys installed. I wonder if we should have a flag to skip those.
By the way, I guess these changes will trigger a 0.2.0 release.
That's a pre-existing issue - why don't you file an issue about that? |
|
@germa89 do you know why the test is failing in the CI/CD? I don't have a linux machine handy to try it |
Codecov Report
@@ Coverage Diff @@
## main #27 +/- ##
===========================================
- Coverage 85.45% 69.91% -15.54%
===========================================
Files 3 3
Lines 110 246 +136
===========================================
+ Hits 94 172 +78
- Misses 16 74 +58 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some pragma no cover. We should increase the coverage.
Co-authored-by: German <28149841+germa89@users.noreply.github.com>
Co-authored-by: German <28149841+germa89@users.noreply.github.com>
Co-authored-by: German <28149841+germa89@users.noreply.github.com>
Co-authored-by: German <28149841+germa89@users.noreply.github.com>
Co-authored-by: German <28149841+germa89@users.noreply.github.com>
Yes, we should have an issue for that too |
I also have to handle migrations (so that a user's configuration that points to
ansys.mapdl.coreoransys.mechanical.coreinappdirsis not discarded.Also missing quite a few unit tests