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

CI: add workflow to check legacy examples #44

Merged
merged 10 commits into from
Nov 2, 2023

Conversation

SMoraisAnsys
Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys commented Oct 31, 2023

Add CI workflow running python examples (excluding pyaedt integration and 01_edb_example.py which is too long to run).
This PR also includes various extras :

  • fix pyedb imports;
  • do not display matplotlib calls;
  • add xfail marker to test test_export_to_ipc2581_1 which is crashing when closing the Edb instance;
  • fix example using wrong version of AEDT.

@SMoraisAnsys SMoraisAnsys force-pushed the ci/check_legacy_examples branch 18 times, most recently from e5d74d4 to 2c6b11b Compare November 2, 2023 21:36
@SMoraisAnsys SMoraisAnsys marked this pull request as ready for review November 2, 2023 21:47
Problem
Fore some reasons (probably related to pythonnet/dotnet GC) the test
test_export_to_ipc2581_1 is crashing when closing the `Edb` instance.
The associated call is `ipc_edb.close()`.
Notes
Wrong version of AEDT used in a test.
Disable legacy example 01 because it takes too long to run.
Disable pyaedt integration examples as they don't run atm.
@SMoraisAnsys SMoraisAnsys merged commit 60e2627 into main Nov 2, 2023
2 checks passed
@SMoraisAnsys SMoraisAnsys deleted the ci/check_legacy_examples branch November 2, 2023 22:00
svandenb-dev added a commit that referenced this pull request Oct 20, 2024
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.

1 participant