Skip to content

Conversation

@oparreno
Copy link
Contributor

No description provided.

@oparreno oparreno requested a review from rafacanton October 31, 2025 07:21
@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.41%. Comparing base (00d243b) to head (ea12027).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2713      +/-   ##
==========================================
+ Coverage   84.38%   84.41%   +0.02%     
==========================================
  Files          92       92              
  Lines       10899    10899              
==========================================
+ Hits         9197     9200       +3     
+ Misses       1702     1699       -3     

>>> model = dpf.Model(transient)
>>> result_info = model.metadata.result_info
>>> res = result_info.available_results[0]
>>> res = result_info.available_results[1]
Copy link
Contributor

Choose a reason for hiding this comment

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

@PProfizi Do we check docstrings in retro tests in CI Release? If we do that, this will fail. @oparreno alternatively we could get result by name here, and that would always work

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rafacanton, I will verify once my PR is merged as I deleted that part in the first one

Copy link
Contributor

Choose a reason for hiding this comment

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

@rafacanton yes we do. And we have ways of making them retro-compatible, such as with a big ugly if on server.meets_version :).

@PProfizi
Copy link
Contributor

PProfizi commented Oct 31, 2025

@oparreno please make the title a bit more explicit. It should describe the change.
Something like:
test: update tests due to change in result order in result info for MAPDL

@oparreno oparreno changed the title Fix disabled tests due to TFS merge Test: update tests due to change in result order in result info for MAPDL Oct 31, 2025
@oparreno
Copy link
Contributor Author

oparreno commented Nov 3, 2025

@rafacanton, @PProfizi, would you please approve to put back the tests? Thanks

rafacanton
rafacanton previously approved these changes Nov 4, 2025
@PProfizi
Copy link
Contributor

PProfizi commented Nov 4, 2025

@rafacanton rafacanton self-requested a review November 4, 2025 09:39
@rafacanton
Copy link
Contributor

it does indeed fail in the release CI https://github.com/ansys/pydpf-core/actions/runs/19063005720/job/54446869232#step:17:338

@oparreno So we will need to get the result by name and not by index

@rafacanton rafacanton dismissed their stale review November 4, 2025 09:44

resetting feedback due to CI Release breaking

@oparreno
Copy link
Contributor Author

oparreno commented Nov 4, 2025

it does indeed fail in the release CI https://github.com/ansys/pydpf-core/actions/runs/19063005720/job/54446869232#step:17:338

Sorry I saw it passing in the CI and thought the issue was not there.

@PProfizi
Copy link
Contributor

PProfizi commented Nov 4, 2025

it does indeed fail in the release CI https://github.com/ansys/pydpf-core/actions/runs/19063005720/job/54446869232#step:17:338

Sorry I saw it passing in the CI and thought the issue was not there.

Not your fault, we do not test for this in the dev CI. Maybe we should :). We usually fix this when trying to release but since we saw this one coming a mile away we might as well fix it directly in this PR.

@oparreno oparreno enabled auto-merge (squash) November 4, 2025 14:36
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Some tests with 'continue-on-error: true' have failed:

  • PyDPF-Post API tests on ubuntu-latest

Created by continue-on-error-comment

@oparreno oparreno merged commit da20bde into main Nov 4, 2025
45 checks passed
@oparreno oparreno deleted the oparreno/new_nodal_orientations_fix_pr branch November 4, 2025 15:34
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.

4 participants